Search:

Type: Posts; User: shintaro

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: C/C++ IDEs

    by shintaro
    Replies
    6
    Views
    2,401

    your options on Windows are: -Visual C++...

    your options on Windows are:
    -Visual C++
    -Digital Mars (command line compiler is free, you have to pay for IDE)
    -Open Watcom (compiler, IDE, dev tools all free)

    options for Linux are:
    gcc (of...
  2. grumpy- thx for your help

    grumpy- thx for your help
  3. libraries in Bjarne Stroustrup's book wont work

    Im reading Bjarne Stroustrup's book "Programming Principals and Practices Using C++" and I cant get the graphics libraries he provides to compile. These libraries are a wrapper that interfaces with...
  4. Replies
    2
    Views
    1,705

    Elysia- Im using VC++ Express 2008 Im pretty...

    Elysia- Im using VC++ Express 2008

    Im pretty sure all the path, libs, includes settings are in project>(project name)properties, like I think to set libraries is in linker>input>additional...
  5. Replies
    2
    Views
    1,705

    include libs for VC++

    Im working through a book on Ogre graphics engine. Usually beginners books tell you where in the VC++ IDE you include the paths and libs, but this book just tells you to do it, but not how. Here are...
  6. Replies
    3
    Views
    932

    thanks Yarin, but I found another solution, there...

    thanks Yarin, but I found another solution, there is a folder with all book code and make files on the book website

    sorry for the bother, Id delete this thread but I dont see an option for deleting
  7. Replies
    3
    Views
    932

    help with book code

    Im reading Bjarne Stroustup's "Programming: Principals and Practice using C++" and Im having trouble figuring out how to set up the graphics code that he uses to simplify the FLTK library, quite...
  8. Replies
    2
    Views
    2,478

    tabstop- big thanks

    tabstop- big thanks
  9. Replies
    2
    Views
    2,478

    stuck on display method

    Im doing an advanced extra credit project for my C++ class and am trying to make a Sudoku game based on function specifications laid out by the teacher. The problem is that my Display() method is...
  10. Thread: bad io output

    by shintaro
    Replies
    4
    Views
    1,390

    aarrgh *facepalms* thx matsp

    aarrgh *facepalms* thx matsp
  11. Thread: bad io output

    by shintaro
    Replies
    4
    Views
    1,390

    carrotcake1029- Thanks, that fixes the problem on...

    carrotcake1029- Thanks, that fixes the problem on this program. However I tried this fix on my other program that had the same problem and it didnt work. Could I bother for a tad more help?
    ...
  12. Thread: bad io output

    by shintaro
    Replies
    4
    Views
    1,390

    bad io output

    The output I get from this program just shows all zeros, I cant figure out what is wrong as this is how the scanf and printf statements are formatted in the book. Any help please?



    #include...
  13. Replies
    7
    Views
    1,871

    Raigne, Daved- Yes youre right, after some...

    Raigne, Daved- Yes youre right, after some looking I came across info on converting numbers to strings. So I guess this is what I will have to put in my code:



    double c;
    c = -3.4;
    ...
  14. Replies
    7
    Views
    1,871

    hk_mp5kpdw- I appreciate the help, but there has...

    hk_mp5kpdw- I appreciate the help, but there has got to be an easy(er) way to do this without resorting to exotic functions that my teacher has never heard of. Time for me to crack more books and see...
  15. Replies
    7
    Views
    1,871

    Nor- here is the entire program with error output...

    Nor- here is the entire program with error output on the bottom
    http://codepad.org/TLWDe1ey



    Which would be nice if I was using C, but Im using C++, and the little I know about C string...
  16. Replies
    7
    Views
    1,871

    assigning ints into a string

    I have to assign int values from arrays to a string so I can use the string to display output.


    string Polygon::ShowPolygon()
    {
    string displayPoly;

    for (int h = 0;h < num_points;h +=...
  17. Replies
    8
    Views
    1,829

    I think I found the problem, I declared the...

    I think I found the problem, I declared the points[] array as a string instead of an int. Cant figure why that didnt show up as a compile error. sry to bother
  18. Replies
    8
    Views
    1,829

    Daved- I havent studied vectors yet in my C++...

    Daved- I havent studied vectors yet in my C++ class, so that is out. I have to follow the spec for the assignment, and the assignment calls for one array called points[] to be declared in the Polygon...
  19. Replies
    8
    Views
    1,829

    trouble assigning arrays

    Inside the for loop of my SetPoints() method which is in the Polygon class Im trying to assign the values of the parameter arrays into a class array, but its not working, the class array just...
  20. Replies
    5
    Views
    2,381

    tabstop- Youre right, its some kind of problem...

    tabstop- Youre right, its some kind of problem with cout in general. I tried to run your bob string and it gave me the exact error same messages.

    Edit:
    Daved- Yes that is it. And yes when this...
  21. Replies
    5
    Views
    2,381

    cpjust, ok here it is, and the lower part of the...

    cpjust, ok here it is, and the lower part of the error just repeats over and over for about a mile. Im using VC++ Express

    ------ Build started: Project: assignment 7, Configuration: Debug Win32...
  22. Replies
    5
    Views
    2,381

    class methods to cout stream

    I have a class method that outputs a string to cout and am getting an error message for it, Im having trouble finding info on how (or if) class methods can output strings to cout.


    cout <<...
  23. Yes I would. Infact just about any word in the...

    Yes I would. Infact just about any word in the dictionary would work better than foo, bar and baz because most words have a meaning that will describe the purpose the word is being used to represent....
  24. Which of these is more readable? this: Void...

    Which of these is more readable?

    this:

    Void modifyName(char name[100])
    {
    strcat (name, “ is stupid”);
    }

    void setUpName(void)
  25. Im really not that stupid. Try this example,...

    Im really not that stupid.

    Try this example, I was currently reading this in the article "Understanding Initialization Lists in C++" which is on this site:


    int main()
    {
    // a lovely...
Results 1 to 25 of 45
Page 1 of 2 1 2