Jump to content

Tuxiscool

Members
  • Posts

    88
  • Joined

  • Last visited

Posts posted by Tuxiscool

  1. I thought glibc was a higher-level software, while 2.6 was only supposed to mess up with lower-level softwares like firewalls and some other system services (for instance, the version of shorewall shipped with 9.1 does not work with 2.6). Oh well

     

    Thank you for your reply anyway

     

    And what you said about 2 glibc's running at once, i will try and check that out with top, is that possible?? (not now, because i need to reboot into 2.6 since it's not compatible with my Conexant HCF modem, damn winmodems!!!)

     

    And one more thing, a guy said on kerneltrap

     

    Maybe you could try running the game at nice -10?

     

    Does anyone know how to do this because....im just puzzled :oops:

  2. Mostly, Kernel 2.6 has lived up to its hype on my computer but there is something quite strrange when using RTCW..

     

    When i try to use RTCW in a window manager like KDE, the speed of RTCW can get quite bad, sometimes unplayable. Does anyone know why this would be? it works faster in 2.4 (through KDE). Would this be worth cantacting one of the kernel developers for?

     

    Through "lite" window managers, like fluxbox and the mandrake "failsafe" wm, RTCW works at amazing speeds, a lot faster than 2.4. The future of Linux gaming looks very good indeed (especially with Reiser4 near completion).

     

    Thanks

  3. Sorry if someones already written what i'm about to say, but i don't have time to read over everyone elses replys.

     

    First of all, the kernel is not the operating system as i saw some people here say, there are slight differences. I'll give some definitions of the two.

     

    Kernel: The core code of which the operating system relies on to interact with the hardware. The kernel handles things like memory management, process scheduling and hardware interaction.

     

    Operating system: Controls resources such as data manipulation, parsing commands, controlling input/output and peripherals.

     

    If you dont understand the differences between the above definitions i'll talk about it in a bit more depth.

     

    The operating system are the programs that use the kernel to interact with your hardware. All of the software included in your distribution (apart from the kernel) could be called the Operating system.

     

    You could basically say that Linux is the kernel that you use (2.4, 2.6 etc), and that Mandrake (or whatever distribution you use) is the Operating System. You should not call 'Linux' an operating system, because it isn't, it is a kernel (i doubt many people care, but hey, some people may as well know).

  4. Thank you all for your help, it's much appreciated

     

    Anyway, about this line

     

    answer answer;

     

    Can someone please explain in more depth what this does? because i don't really understand it, thanks.

     

    And also, im going to try and add a few new features, like Squaring etc. Would it be done like this? (apart from adding it as one of my choices and declaring variables)

     

     else if (Choice == umm whatever)
    
    
    
      {
    
    cout << "ntttYou chose to Square a Number.nttt";
    
    cout << "ntttEnter the numbers that you want to Square, after you type the number, press enternttt";
    
    cout << "ntttEnter Number:  ttt";
    
    cin >> squarenum;
    
    
    
    answer.square = squarenum ^2;
    
    cout << "nttt"  << squarenum << " squared " << " equals " << answer.square << "n";
    
      }

     

    That's just a guess but is that how you do squaring in c++? if not, could someone please tell me how? thanks.

  5. Ok, i have *tried* to make a calculator for one of my first programs and i get a few errors on compile, can anyone help me fix these?

     

    Here's my code

     

    #include <iostream.h>
    
    
    
    struct answer{
    
     int multiply;
    
     int add;
    
     int divide;
    
     int subtract;
    
    }
    
    
    
    {
    
    main()
    
    
    
    int Choice;
    
     int mulnumone;
    
     int mulnumtwo;
    
    int addnumone;
    
    int addnumtwo;
    
    int divnumone;
    
    int divnumtwo;
    
    int subnumone;
    
    int subnumtwo;
    
    
    
    while (1) {
    
    
    
     // Menu Heading
    
    
    
     cout << "ttt//////////////////////////n";
    
     cout << "ttt/////// CALCULATOR ///////n";
    
     cout << "ttt//////////////////////////n";
    
    
    
     //Menu Choices
    
    
    
     cout << "nttt1) Multiply Numbers n";
    
     cout << "ttt2) Add Numbers n";
    
     cout << "ttt3) Divide Numbers n";
    
     cout << "ttt4) Subtract Numbers n";
    
     cout << "ttt5) Exit the calculator n";
    
     cout << "ntttPlease Enter your choice:  ";
    
    
    
     // Find users choice
    
    
    
     cin >> Choice;
    
    
    
     // Accordng to choice Calculate users input
    
    
    
     // Multiplication
    
     
    
    if (Choice == 1)
    
       cout << "ntttYou chose to Multiply Numbers.nttt";
    
     cout << "ntttEnter the numbers that you want to Multiply, after you type each nimber, press enternttt";
    
     cout << "ntttEnter First Number:  nttt";
    
     cin >> mulnumone;
    
     cout << "ntttEnter Second Number:  nttt";
    
     cin >> mulnumtwo;
    
    
    
     // Calculate the Multiplication Equation
    
    
    
     answer.multiply = mulnumone * mulnumtwo; 
    
     cout << mulnumone << " times " << mulnumtwo << " equals " << answer.multiply << "n";
    
    
    
     // Addition 
    
    
    
    else if (Choice == 2)
    
       cout << "ntttYou chose to Add Numbers.nttt";
    
     cout << "ntttEnter the numbers that you want to Add, after you type each nimber, press enternttt";
    
     cout << "ntttEnter First Number:  nttt";
    
     cin >> addnumone;
    
     cout << "ntttEnter Second Number:  nttt";
    
     cin >> addnumtwo;
    
    
    
     // Calculate the Addition Equation
    
    
    
     answer.add = mulnumone + mulnumtwo;
    
     cout << addnumone << " plus " << addnumtwo << " equals " << answer.add << "n";
    
    
    
     // Division
    
    
    
    else if (Choice == 3)
    
      cout << "ntttYou chose to Divide Numbers.nttt";
    
    cout << "ntttEnter the numbers that you want to Divide, after you type each nimber, press enternttt";
    
    cout << "ntttEnter First Number:  nttt";
    
    cin >> divnumone;
    
    cout << "ntttEnter Second Number:  nttt";
    
    cin >> divnumtwo;
    
    
    
    // Calculate the Division Equation
    
    
    
    answer.divide = divnumone / divnumtwo;
    
    cout << divnumone << " divided by " << divnumtwo << " equals " << answer.add << "n";
    
    
    
    // Subtraction
    
    
    
    else if (Choice == 4)
    
    cout << "ntttYou chose to Subtract Numbers.nttt";
    
    cout << "ntttEnter the numbers that you want to Subtract, after you type each nimber, press enternttt";
    
    cout << "ntttEnter First Number:  nttt";
    
    cin >> subnumone;
    
    cout << "ntttEnter Second Number:  nttt";
    
    cin >> subnumtwo;
    
    
    
    //Calculate the Subtraction Equation
    
    
    
    answer.subtract = subnumone / subnumtwo;
    
    cout << subnumone << " minus " << subnumtwo << " equals " << answer.subtract << "n";
    
    
    
    // If users choice was to exit the calculator, exit
    
    
    
    else if (Choice == 5)
    
      {
    
        cout << "ntttYou chose to Exit the Calculator. Bye.nttt";
    
        break;
    
      }
    
    
    
    // If users Choice is not valid, must enter again
    
    
    
    else
    
      {
    
        cout << "ntttYour choice is NOT valid!n";
    
        cout << "tttPlease enter a CORRECT choice!nnttt";
    
      }
    
    }
    
    
    
    return 0;
    
    }

     

    and here is g++'s output (through emacs)

     

    g++ -O2 calculator.cpp -o calculator -Wno-deprecated
    
    calculator.cpp:13: parse error before `{' token
    
    calculator.cpp:26: parse error before `while'
    
    calculator.cpp:31: syntax error before `<<' token
    
    calculator.cpp:32: syntax error before `<<' token
    
    calculator.cpp:36: syntax error before `<<' token
    
    calculator.cpp:37: syntax error before `<<' token
    
    calculator.cpp:38: syntax error before `<<' token
    
    calculator.cpp:39: syntax error before `<<' token
    
    calculator.cpp:40: syntax error before `<<' token
    
    calculator.cpp:41: syntax error before `<<' token
    
    calculator.cpp:45: syntax error before `>>' token
    
    calculator.cpp:53: syntax error before `<<' token
    
    calculator.cpp:54: syntax error before `<<' token
    
    calculator.cpp:55: syntax error before `>>' token
    
    calculator.cpp:56: syntax error before `<<' token
    
    calculator.cpp:57: syntax error before `>>' token
    
    calculator.cpp:62: syntax error before `<<' token
    
    calculator.cpp:68: syntax error before `<<' token
    
    calculator.cpp:69: syntax error before `<<' token
    
    calculator.cpp:70: syntax error before `>>' token
    
    calculator.cpp:71: syntax error before `<<' token
    
    calculator.cpp:72: syntax error before `>>' token
    
    calculator.cpp:77: syntax error before `<<' token
    
    calculator.cpp:83: syntax error before `<<' token
    
    calculator.cpp:84: syntax error before `<<' token
    
    calculator.cpp:85: syntax error before `>>' token
    
    calculator.cpp:86: syntax error before `<<' token
    
    calculator.cpp:87: syntax error before `>>' token
    
    calculator.cpp:92: syntax error before `<<' token
    
    calculator.cpp:98: syntax error before `<<' token
    
    calculator.cpp:99: syntax error before `<<' token
    
    calculator.cpp:100: syntax error before `>>' token
    
    calculator.cpp:101: syntax error before `<<' token
    
    calculator.cpp:102: syntax error before `>>' token
    
    calculator.cpp:107: syntax error before `<<' token
    
    calculator.cpp:122: syntax error before `<<' token
    
    
    
    Compilation exited abnormally with code 1 at Mon Sep 15 23:09:19

     

    Help would be much appreciated

     

    Thanks in advance.

  6. Now, this is a quote that makes people really really envious.. a dual opteron? What are you going to use it for?

     

    To be honest, i really haven't figured that out yet, but i am wanting something that will last for quite a while (Because of TCPA and Palladium). umm, maybe gaming :wink: . And if i can learn how to use Blender, maybe some nice 3D rendering.

  7. zero0w, where did you hear that from?

     

    Ah well, with my dual Opteron box that im getting in about a month, it should work just fine :D.

     

    Im slightly worried though, will that slow down my 650MHz computer very much? I would still really like to use Reiser4 (gaming will be so much better :D )

  8. I read somewhere on KernelTrap.org that Reiser4 is expected to be one of the features implemented into 2.6 before 2.6.0. So we should see it in the next Mandrake release(i mean after 9.2).

     

    I expect the next release (after 9.2) to be Mandrake X (when someone had an interview with one of the head guys at Mandrakesoft he was talking about 'Mandrake X'). and anyway, look at the way mandrake has been released other times. 8.0, 8.1, 8.2 ----> 9.0, 9.1 and each of these 'Major number' releases, it has had much improved features.

     

    I intend to buy 'Mandrake X' because it should have (by the time it's released):

     

    -- Kernel 2.6

    -- KDE 3.2 (maybe 4 :) )

    -- Gnome 2.4

    -- Reiser4 (oh yeah!!) :)

    -- OpenOffice 1.1 :)

     

    I expect Mandrake X to be an excellent release (and a huge leap forward) and should be released in about March or April (a great birthday present for me :) ). But i doubt i will buy 9.2, i will just download it.

  9. A friend at school is basically begging me to install Linux on his computer which is great but first i want to back up all his files on my computer. He currently has Windows 98 on his comp, two HDs a 1GB one and an 8GB one. Is there an easy way for me to transfer the files over LAN (like a folder in Konqueror that has his drives in it) so i can copy them to my computer? If there is how would i do this?

     

    Im really sorry if this has been covered before, if so can people give me some links please. Thanks in advance.

  10. Well, it looks like we don't have to worry anymore about DRM

     

    This is because of a new feature in the upcoming 2.6 kernel

     

    Taken from http://humorix.org/articles/nov01/two-point-six.shtml

     

    Get ready for "Attackster", a module that implements Digital Rights Management protocols and detects any attempt to copy or use unauthorized material. Upon detection, the kernel will send a barrage of e-mails to RIAA or MPAA World Headquarters informing them of the violation.

     

    But this is a Good Thing! First, the messages will say "A copyright violation has occured at [date/time]" but won't reveal the identity of the user. More importantly, the trillions of messages sent per day will act as a Distributed Denial of Service Attack against the bad guys, sending their computer systems to a grinding halt.

     

    Linus will say, "This is exactly what Hollywood wants. If they can't handle the strain of Linux's new DRM features, then tough!"

     

    Im not sure if this information is completely reliable but i am keeping my hopes up.

  11. Ok, i've got this game working under wine (last time it said "please insert the next cd" during the install).But now i have 2 problems

     

     

    Problem 1

     

    Now when i try Play CS-> LAN Game, it stops responding.

     

    Problem 2

     

    From the main menu, when i choose "Console" the screen resolution changes back to normal "1024x768" but counter strike is now a small window.

     

    Anyone have any problems like this before, or know how to fix them?

  12. with fdisk

     

    where can i get a version of fdisk that will format linux partitions?, since the one with dos doesn't.

     

    btw, when i tried making my own kernel (the second time) with 'make xconfig' when i try to save it, it says this.

     

    ERROR - Attempting to write value for unconfigured variable (CONFIG_MOD_DVB).

    ERROR - Attempting to write value for unconfigured variable (CONFIG_QLA).

    ERROR - Attempting to write value for unconfigured variable (CONFIG_QLA).

    ERROR - Attempting to write value for unconfigured variable (CONFIG_VIDS).

    ERROR - Attempting to write value for unconfigured variable (CONFIG_VIDS).

     

    what things do i have to change to fix this?

  13. No. U have to reformat the partition and/or drive.

     

    what can i do that with?

     

    btw, i edited and compiled the 2.4.19-16 kernel that comes with mdk 9.0 and when its booting on my old computer it comes out with the error 'no coprocessor found and no math emulation present" how can i edit it so that it will work?

×
×
  • Create New...