Search:

Type: Posts; User: biosx

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    6,665

    What is the point of oddCount? Here is some...

    What is the point of oddCount?

    Here is some pseudo-code/logic to your program. I hope it helps.



    while still getting input
    {
    declare total variable
  2. I wouldn't say static is deprecated. It is...

    I wouldn't say static is deprecated.

    It is used alot when you need data members or functions in a class accessible without having to instantiate an object.



    #include <iostream>

    using...
  3. Thread: I miss C

    by biosx
    Replies
    5
    Views
    1,497

    Once you get used to Object Oriented Programming,...

    Once you get used to Object Oriented Programming, you wil appreciate its simplicity.

    Java is much simpler than C++.
  4. Replies
    3
    Views
    1,276

    You usually control that kind of code generation...

    You usually control that kind of code generation via cmd-line flags.

    However it is weird that it would put in debugging info without you telling it to.
  5. Replies
    4
    Views
    1,477

    Well I do use them in different places, however I...

    Well I do use them in different places, however I think later on in the development of this I am going to have some other way of dealing with it.

    I just wanted to know what people's opinion's...
  6. Replies
    4
    Views
    1,477

    Well it seems silly. I probably won't use it in...

    Well it seems silly. I probably won't use it in the long run (just for the time being). I have a function that takes 6 arguments and I #define a small macro for expanding a ton of arguments. Here is...
  7. Replies
    4
    Views
    1,477

    Using #define's in C++. Your opinion...

    I have recently come across a situation where it will be beneficial to use a #define macro inside my code. This addition will make the code much easier to understand and a little easier to edit...
  8. Replies
    174
    Views
    12,946

    Right? I mean, I posted in this thread and I...

    Right? I mean, I posted in this thread and I can't even remember what I was doing at that time.
  9. Replies
    4
    Views
    1,431

    Essentially, arrays and linked-lists can be used...

    Essentially, arrays and linked-lists can be used interchangeably. It really depends on the situation though. You have to think of the pro's and con's of each:

    Arrays
    Pros

    Easy pointer...
  10. Yes, you can read the file (i.e. its a text...

    Yes, you can read the file (i.e. its a text file). It works fine now, though. It was an old bug in MSVC++ (I never updated). I compiled through g++ and it worked ok.

    Fordy, I think you are...
  11. The file is actually only one line long for now...

    The file is actually only one line long for now and is like so:

    2 123456789 25 100

    and the main code is like so:



    ......
  12. Does overloaded istream operators overload ifstream as well?

    Hey, all! It's been a while. I am having a strange problem which doesn't seem right. I have a class I created that I am trying overload the insertion operator (>>). I do so with this code:


    ...
  13. Replies
    4
    Views
    2,584

    Also here (http://www.winprog.org/tutorial/).

    Also here.
  14. Replies
    12
    Views
    2,882

    Make sure that mount is in your /bin directory....

    Make sure that mount is in your /bin directory. Sometimes commands are just symbolically linked from the /bin and /sbin directory. It sounds like mount is in the /sbin dir (in the root users path)...
  15. Thread: Kde

    by biosx
    Replies
    10
    Views
    1,677

    I only use KDE because it was smaller than GNOME...

    I only use KDE because it was smaller than GNOME in filesize. Window managers don't really matter too much to me.
  16. Thread: System V IPC

    by biosx
    Replies
    3
    Views
    1,586

    Thanks for the reply. I wasn't sure if people...

    Thanks for the reply. I wasn't sure if people still used them or if they just stuck with normal pipes/FIFO's or just network sockets. I'll give it some time, thanks.
  17. Replies
    12
    Views
    1,954

    In stdlib.h there is a function called system()...

    In stdlib.h there is a function called system() which allows you to pass arguments to the shell. You use this injunction with the clear command for Bash like so:



    system("clear");


    Works...
  18. Thread: System V IPC

    by biosx
    Replies
    3
    Views
    1,586

    System V IPC

    Does anybody here use (or know anyone that uses) System V IPC's? I'm not even sure if they are POSIX'd. I am just wondering if I should invest time learning all about it.

    thanks
  19. Replies
    15
    Views
    2,761

    RedHat isn't just for newbies. I use RH7.3 and it...

    RedHat isn't just for newbies. I use RH7.3 and it is perfect for me.

    I think the key is to try a few and see which one makes you feel more comfortable. I used Mandrake for about a year and just...
  20. Thread: Tell me its okay

    by biosx
    Replies
    11
    Views
    1,709

    You can do alot with calc and stats with just...

    You can do alot with calc and stats with just console programs. I got a rush when I finished a program that calculated a Riemann's Sum. Try it out. Do integrals and find out derivatives and just go...
  21. Thread: Tell me its okay

    by biosx
    Replies
    11
    Views
    1,709

    Until you learn certain API's, you won't be...

    Until you learn certain API's, you won't be impressed with much. Decide what you would like to specialize in. If you want to do network programming, look at socket API's. If you just want to do...
  22. Thread: HELP! (strings)

    by biosx
    Replies
    6
    Views
    1,834

    Re: HELP! (strings)

    First and foremost, you can't use a character to hold a word. You need to have an array of characters (or a character pointer to an allocated amount of memory). You seem pretty new so I'm just going...
  23. Replies
    62
    Views
    5,476

    Poll: Re: Re: All aboutt the programming

    Yeah right.. Schools give you final projects and other little creative freedoms. Once you get into a company and start coding full time you will have to code to their standards and of course to their...
  24. Replies
    1
    Views
    1,211

    Here is a different, more standard version: ...

    Here is a different, more standard version:



    #include <iostream>
    #include <cstdlib>
    #include <string>

    using namespace std;
  25. Replies
    128
    Views
    8,869

    Well, they did create C# and they did make Visual...

    Well, they did create C# and they did make Visual C++ b/c Visual C++ is just a program that makes it easier to program with MFC.

    Also, they aren't trying to take over every language. They are,...
Results 1 to 25 of 234
Page 1 of 10 1 2 3 4