No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
I'm fairly new to C++, I've only been learning it for 4 months now and I've been having problems with a template class file that i was creating for my project i kept getting the error [QUOTE] main.obj : error LNK2019: unresolved external symbol "public: __thiscall Intervals<float>::Intervals<float>(float,float)" (??0?$Intervals@M@@QAE@MM@Z) referenced in …
In both your 'for' loops your condition needs 'a' to be smaller than 'b', so before your 'for' loop but after your call for user input 'cin', you need a condition which checks the values entered, and then ensures that a is smaller than b for example [ICODE] //check to …
you cannot dynamically change the size of an array, you can only create a new one and copy the old array, but i gues you could use poiters for you array holder like Ancient Dragon suggested, but thats tricky to manage, an easier option would be to use c++ vector …
you should consider using a modulus operator for several reasons. In you code, when you divide by rempay, unless the result is a value greater than 1, the value you get for rempay will not give you the desired output. You have no conditions in your code to check whether …
You need to think about what you want to use C++ for. I personally am interested in teh game development aspect of C++, but there are many other route C++ can tke you. so once you've made up you mind you should re ask your question with that in mind. …
you code doesnt make sense so i have to ask, "Are you new to programming?", "And is this the full source code" I'm only asking because theres some serious flaws in you code. first you have variables that arent initialised, you have memory leaks were you've allocated new memory on …
The End.
entei