Search:

Type: Posts; User: Mark S.

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,477

    how horrible is my programming style!

    I have been dabbling with c++ for a while as a hobby as i would like to eventually program simple 2d games. Unfortunately being self taught combined with the fact that my maths is crap means that i...
  2. Replies
    7
    Views
    6,312

    opposite to atoi.

    I know that the atoi() function converts a string number to an int equivalent.

    Is there a similar function that converts an int number to a string number.

    Thanks

    Mark S.
  3. Replies
    3
    Views
    1,964

    compiler error with global enum

    I am getting this error:-

    C:\C++ PROJECTS\CONSOLE\PROJECTS1\num lists menu\main.cpp(6) : fatal error C1001: INTERNAL COMPILER ERROR
    (compiler file 'msc1.cpp', line 1786)

    with this...
  4. Replies
    2
    Views
    1,142

    improve my number splitting prog

    My following program splits a decimal number into the individual digits with the relevant multiples of 10.

    My c++ skills are limited and i would like to see how other people would approach this...
  5. Replies
    14
    Views
    1,331

    Thanks for the solution. Where is the best...

    Thanks for the solution.

    Where is the best place to put the cin.ignore() function. I have put it after cin >> goAgain. It seems to work there.

    I originaly had a do while loop but while trying...
  6. Replies
    14
    Views
    1,331

    trouble with cin.getline

    Can someone please explain why the cin.getline instruction doesnt work when the program goes a second time around .It is completely ignored.



    //// output the factors of a chosen number//////
    ...
  7. Replies
    2
    Views
    987

    where is standard namespace?

    Hi,

    In the context of

    using namespace std;

    where is the location of the standard namespace.

    I know that when you use #include<iostream>
    the iostream is stored inside the VC98\Include...
  8. Replies
    1
    Views
    1,411

    cin. information

    Hi,

    When i type cin. a new window opens with what i assume is a list of data and function members of the cin object. Stuff like adjustfield basefield,bad and basefield.

    I use cin.getline a...
  9. Replies
    3
    Views
    1,268

    float data type question

    I am trying to make a simple program that tests the users ability to divide 2 numbers without a remainder. For some reason even if you type in the the correct answer the program doesnt acknowledge...
  10. Replies
    6
    Views
    3,343

    I think this is a reasonable question. I often...

    I think this is a reasonable question. I often wonder what is actually happening when you include header files. I know that it is a means to access functions within the header file but it would be...
  11. Replies
    9
    Views
    1,606

    All i ask for is a subject to research. Do i need...

    All i ask for is a subject to research. Do i need to look into inheritance or maybe linked lists or maybe something else. Any help is much appreciated.

    Thanks

    Mark S.
  12. Replies
    9
    Views
    1,606

    help with class design

    Hi,

    I am finally starting to get to grips with OOP and i have been trying to structure real life situations into classes and objects and the relationship between them.

    Can someone please give...
  13. Thread: compiler help

    by Mark S.
    Replies
    5
    Views
    933

    I'd like to add that as an experiment i created a...

    I'd like to add that as an experiment i created a console app.
    in which i created a simple class and when i made an instance of the class the class functions appeared as i wanted.

    like

    Dog...
  14. Thread: compiler help

    by Mark S.
    Replies
    5
    Views
    933

    Can anyone please elaborate on that? What is...

    Can anyone please elaborate on that?

    What is Fdisk?

    Mark S.
  15. Thread: compiler help

    by Mark S.
    Replies
    5
    Views
    933

    compiler help

    Hi,

    In the past when i have been programming using the MSVC++ compiler , if i was programming for example a windows shell and i typed

    wcl.

    a little window displaying the various fields of...
  16. Replies
    3
    Views
    1,987

    help with debugging

    hello,

    I am trying to familiarize myself with the visual C++ debugger.
    In the code below when i step into the strlen() function a small window opens up saying please enter the path for...
Results 1 to 16 of 16