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...
Type: Posts; User: Mark S.
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...
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.
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...
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...
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...
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//////
...
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...
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...
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...
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...
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.
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...
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...
Can anyone please elaborate on that?
What is Fdisk?
Mark S.
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...
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...