Beginners - March 2012 (Page 9)

arrays
 
Im working with arrays and i have my array int thesenumbers {6,12,5,9,15}; I want to have the ...
[2 replies] Last: never mind got it! int thearray ; cout << "enter two numbers" << en... (by hulibarri)
Linker error SDL
 
I followed a tutorial on youtube and various other tutorials i found and i cannot get a window to ap...
[no replies]
copying string from one string pointer array to another
 
if(temp>final_hash_index_one) { string *tmp = new string[temp+1]; ...
[1 reply] : std::copy( level_two->begin(), level_two->end(), tmp->begin() ); or ... (by vlad from moscow)
Sentimental Not Working Correctly
 
#include <iostream> #include <iomanip> using namespace std; void main() { cout << endl; ...
[4 replies] Last: ? (by Sunny101)
Text Adventure game help.
 
We are attempting to code a Text Adventure, similar to Zork... Mainly, we suck. :D So, yeah. Do y...
[4 replies] Last: Thank you for the help we got the program working kinda but we got pas... (by Purple Dizzy)
String concatenation
 
Hello, I have a class class Parameters { protected: double s_a, phi_a; double s_...
[7 replies] Last: I guess using map will do it for now since I have to do some sort of p... (by Marioqwe)
How do i store arrays in a queue?
 
can some body please give an example of how to store entire arrays of integers into queue's? que...
[5 replies] Last: no i don't want to store individual elements of the array into the que... (by rro0035)
by hvigil
Can you use two data types in a function
 
I was wondering can you use two data types in a string like int char function( int 5 ...
[4 replies] Last: that seems to work, you can put in if( denum1 == denum2) num_answer =... (by ui uiho)
red black tree for balanced binary search
 
I am a little confused on how to define the red and black lines(especially the red ones) in the bala...
[no replies]
Need Help with loop.
 
Hello everyone. I'm quite new to the programming world, but after few weeks of learning i made a pro...
[7 replies] Last: So finally i got it working and understood how the loop works! #in... (by Emerican)
Shifting Array elements
 
Hello, I working on this program for school which reads two numbers from a file and then breaks the ...
[5 replies] Last: You are correct. I should have not used i as the index for the Number... (by histrungalot)
by marc06
compilation Error with template
 
Hello, I have an error at compile time for a template. Here the declaration : template <USH...
[2 replies] Last: I think this is something that was improved in C++11. When that gets,... (by Stewbond)
by I3lue
nested while
 
I'm trying to do some nested whiles with y=x*z/(x-z) so x goes from 1-5 and increment by 1 z go...
[2 replies] Last: Oh I needed to put the cout in the inner loop..... thanks =) (by I3lue)
by XXL66
DWORD confusion
 
Hello, I'm trying to protect my app with a hardware dongle. These dongles have a unique ID like f...
[1 reply] : C8F25797 is in hexadecimal. If you are reading or printing the number... (by Disch)
what am I doing wrong with this string?
 
void sequence (string str1) { char recent = str1 ; cout << recent; for (int i = 1; i < str1.lengt...
[2 replies] Last: yup found em both. boy does my username suit me somedays xD. Thanks fo... (by Cplusplusnoob95)
function problem
 
Hi guys, I'm really new to this. The problem is that I have to write a int function to get the lowes...
[2 replies] Last: Thanks, this really helped alot. Enjoy! (by Davester)
by balv11
return function
 
#include <iostream> using namespace std; int getScore(int test1, int test2, int test3, int test4...
[4 replies] Last: Hi looks like we are sitting with the same problem, but how do I get t... (by Davester)
by Lej
I cannot GET THIS TO WORK.. (Saving a STRING into an array...)
 
All I want to do is ask the user to enter words, then I bubble sort them alphabetically, then print ...
[5 replies] Last: Well it looks like he's using C, not C++. So std::string is not an o... (by Disch)
Forced typedefs.
 
Hello, To help prevent logical bugs, I'm using a series of typedefs to separate conceptually diff...
[3 replies] Last: http://bytes.com/topic/c/answers/139957-built-type-inheritance Using ... (by R0mai)
Nothing to Build
 
Hiiiiiiii guys. Right, so, I have absolutely no idea what I'm doing, this is quite literally my firs...
[11 replies] Last: Thanks for the replies. I tried running the executable directly (not ... (by TimMarc)
March 2012 Pages: 1... 7891011... 71
  Archived months: [feb2012] [apr2012]

This is an archived page. To post a new message, go to the current page.