Search:

Type: Posts; User: manwhoonlyeats

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    2,003

    array passing

    What i'm wondering is if there is an easy way to pass a copy of an array to a function. in the following program i pass the address of an array of numbers, a, to the change function. But what i...
  2. after reading these posts and searching around...

    after reading these posts and searching around for other information, i still cannot find anything that i can understand. I am trying to make an ASCII game with some sort of delay function. I tried...
  3. Here is your code modified so that it sorts...

    Here is your code modified so that it sorts correctly. I don't know if this is the best way to sort, but it is the way that i know and it works fine. it works like this
    y is initally set to 0, z to...
  4. Replies
    4
    Views
    951

    can a class display its name?

    Is there a way to have a class display its name (i.e. base) without setting a varible to it's name? Maybe there is a variable that has contains its name?



    class base {
    int x,y;

    public:...
  5. Replies
    3
    Views
    1,297

    Is it possible to get the C/C++ code for the...

    Is it possible to get the C/C++ code for the object library files, or is it written in assembly or not distributed?
  6. Replies
    3
    Views
    1,297

    Where are the functions?

    I'm confused where the actual code is for a function from an included header. For example, if I include math.h, then i can use the sqrt() function(among others), but where is sqrt()'s actual code,...
  7. Replies
    13
    Views
    4,304

    Whats so great about Unix?

    People are always talking about how great unix is for programming C etc. I was wondering what is so great about it, i currently use windows. Also there are diffrent Unix's(i think) which one is...
  8. Replies
    11
    Views
    1,467

    that probably explains why i dont have them. i...

    that probably explains why i dont have them. i use windows.
  9. Replies
    10
    Views
    2,642

    i asked a similar question before

    And i got a good answer
    check it out
    http://cboard.cprogramming.com/showthread.php?s=&threadid=30234
  10. Replies
    11
    Views
    1,467

    man pages

    Are there man pages on C? If so, where can i download 'em?
  11. Replies
    11
    Views
    1,467

    man pages

    what are they? everyone always talks about them.
  12. Replies
    5
    Views
    1,186

    ok, whats wrong now?

    Ok, i figured out what the mistakes were. Now the program works except it doesent work right. it finds the prime factors of 10 right (5*2). But when it tries to find some numbers, like 20 it...
  13. Replies
    5
    Views
    1,186

    i dont get it

    so instead of declaring the variables extern what do i declare them so that every function in my file can access them? auto?
  14. Replies
    5
    Views
    1,186

    extern varibles

    Hi,
    im having some trouble with this program that is supposed to find the prime factors of a number. More specificly im having truoble with the extern part. I must not understand the correct...
  15. Replies
    43
    Views
    31,687

    Who would have known that such a bad question...

    Who would have known that such a bad question posted by a newbie would become so popular!!
  16. Replies
    43
    Views
    31,687

    My program would compile fine, but then it would...

    My program would compile fine, but then it would run i would input the first element in the area and it would crash. When i clicked on debug it brought up the line: *ptr=num;
    but then it stopped...
  17. Replies
    43
    Views
    31,687

    Do i get it?

    Ok, i just tried to write a program using malloc() that takes input and makes for sizeof_array elements then inputs them then prints them. When i try to run it i get an error. Whats wrong with my...
  18. Replies
    43
    Views
    31,687

    Thanks...

    I get it now, malloc() is needed to allocate memory when you dont know how much you are going to need when you write the program, or when the amount of memory needed changes based on a variable.
  19. Replies
    3
    Views
    1,529

    Winsock books?

    I was wonderning if anyone knew of a good winsock book, i would prefer one that deals with console applications because i havent learned windows programming yet...
    Any suggestions?
  20. Replies
    43
    Views
    31,687

    I still dont get it....

    When is it used, can i have an example?
  21. Replies
    43
    Views
    31,687

    What does malloc() do?

    What does malloc() do?
  22. Replies
    1
    Views
    4,005

    Non blocking listen() with winsock

    I'm reading this book on socket programming and it said that using a non blocking listen() function was too complicated for the book. I'm trying to write a program that does other things while it is...
  23. Replies
    2
    Views
    1,450

    Never mind, my computer was messing up thanks

    Never mind, my computer was messing up
    thanks
  24. Replies
    2
    Views
    1,450

    For the first code my broswer says: ...

    For the first code my broswer says:

    C:\DEV-CPP\mingw32\bin\ld.exe: cannot open output file C
    Permission denied

    and borland command line tools doesent support popen
  25. Replies
    2
    Views
    1,450

    Capturing system commands

    Is there a way to run a command and then put the return into a variable?
Results 1 to 25 of 32
Page 1 of 2 1 2