Search:

Type: Posts; User: hern

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,188

    Infinite While Loops Question

    I am learning C++ and I was under the impression if you were to do an infinite while loop to do




    int counter=0

    while(1)
    {
    counter++;
  2. Replies
    2
    Views
    907

    Ah, turns out it was a set of "()" lol on one of...

    Ah, turns out it was a set of "()" lol on one of those functions in the .h file....Anyways, I may need some help explaining some of this code lol ;) thanks for whoever read me post.


    Herns
  3. Replies
    2
    Views
    907

    Where's the error?

    :confused: I cannot seem to find the error in this? Can anyone help.

    I'm on AOL IM: awedaveo

    I've attached the two files...Can someone please message me with some help
  4. Replies
    1
    Views
    1,747

    Novice question on header files

    Ok,

    I've spent a good deal time in C, and I recall I often used .h or header files to store my global variables, structs, and other prototypes. I'm learning C++ now, and I've stumbled across...
  5. Replies
    8
    Views
    2,354

    I'm using Microsoft Windows XP Professional. I'm...

    I'm using Microsoft Windows XP Professional. I'm using Microsoft VIsual C++ 6.0 Professional also. I got it to work however by doing using namespace std; below the inclusion of the header file and...
  6. Replies
    8
    Views
    2,354

    Novice Beginner: Simple hello world wont work

    Hey guys I did the following code and it still would not work



    #include <iostream>

    int main()
    {
    std::cout<<"Hello World!";
    return 0;
  7. Wehn you say .net and how I can just drag and...

    Wehn you say .net and how I can just drag and drop what language is that? How do I learn .net? Is that what Visual C++ is or C#?? I'm lost
  8. Dougdbug, thanks I'll look into the book you...

    Dougdbug, thanks I'll look into the book you recommended. Deo, coudl you send me some of those tutorials. If you got them before they started charging for them then they are not illegal.

    I'm...
  9. C/C++ then where? A novice question from a novice programmer

    To all:

    I've spent a couple months familiarizing myself with programming in C and Jython (due to a class for jython). I am now reading the SAMS Teach Yourself C++ in 21 days to get a base for C++....
  10. Thread: inline functionss

    by hern
    Replies
    4
    Views
    983

    inline functionss

    -------------------------

    I had a question regarding inline functions. When do you use then and how many of you use them a lot? It seems like it is more of a disadvantage because a functions code...
  11. Replies
    14
    Views
    2,429

    How will I run it though after compiling?

    How will I run it though after compiling?
  12. Replies
    14
    Views
    2,429

    Compiling a C program in Linux

    Hey guys..I'm setting up redhat 9 or mandrake 9 tonight on this old pentium 1 133mhz...How do you compile c/c++ compilers...I know how to type them in the VI editor but then what do I do from the...
  13. Replies
    3
    Views
    1,217

    Did it run after making those changes? I just got...

    Did it run after making those changes? I just got home...I plan on changing them tonight after I eat..
  14. Replies
    3
    Views
    1,217

    Major Help! Calling all experts.

    I'm working on a huge project to challenge myself. It was compiling the other day and working great now that I've added a lot more it will not compile and run. Can some experts please over look these...
  15. Replies
    8
    Views
    1,163

    Ok thanks, I'll play around with that when I get...

    Ok thanks, I'll play around with that when I get home...Why would you do it in binary format?
  16. Replies
    8
    Views
    1,163

    c question help for adv programmers

    I have a structure called EMPDATA that contains char firstname[25] and other arrays. I have defined EMPDATA target; and I have used memcpy to copy inputted data such as firstname, lastname, etc into...
  17. Replies
    3
    Views
    1,048

    Alright awesome...I'm still working on that big...

    Alright awesome...I'm still working on that big program project...I'm 40% done...I'll post if I have any further questions. Thanks for clearing that up. C PROGRAMMING WUT WUT\

    btw prelude = pimp
  18. Replies
    3
    Views
    1,048

    Receiving an array in a function

    If I have two global variables char filename[80] and char message[80]. If I want to pass them in to a different c file's functions. In one I put create_file(char* filename) in the other i put...
  19. Replies
    4
    Views
    1,440

    Ok so anytime I pass an array as a parameter for...

    Ok so anytime I pass an array as a parameter for function I must use pointers. Got ya! Thanks all..Prelude, for the way I'm doing this program it makes more sense to keep the few global in declare.h...
  20. Replies
    4
    Views
    1,440

    Help - Program Challenge for C Buffs

    Ok I'm writing a program and had a question. I've attached the declare.h, main.c, and printdata.c files i've created. My question is this...I'm trying to create a log file to record errors and...
  21. Replies
    1
    Views
    1,690

    Header File Understanding Help

    Alright I've got this header file, and I want to double check to make sure I understand this. I'm in the middle of a huge human resource prgoram and I feel if I understand this structure header file...
  22. Replies
    7
    Views
    1,421

    Alright, thanks. I'll use endl right before I cin...

    Alright, thanks. I'll use endl right before I cin input. Thanks again prelude
  23. Replies
    7
    Views
    2,454

    That is how I started...I played multiplayer...

    That is how I started...I played multiplayer games in middle school, and I used to have to get my neighbor to upgrade my computer so I could play the latest games back when the big 4MB graphics cards...
  24. Replies
    20
    Views
    2,846

    If you had windows installed...Just reinstall...

    If you had windows installed...Just reinstall windows into the same directory...You shouldn't lose your files...Just don't format the partition...You can install windows on the current...
  25. Replies
    7
    Views
    1,421

    WHen would you be in need to flush the stream...

    WHen would you be in need to flush the stream immediately?
Results 1 to 25 of 55
Page 1 of 3 1 2 3