
please wait
by DELB
Linked List Help
|
Hello, I'm working from this example: http://www.cprogramming.com/tutorial/lesson15.html However, I'm not sure how this works; if ( conductor != 0 ) {... |
Mar 3, 2013 at 6:30am
[8 replies] Last: I tell ya what would be useful... if someone could expand on the code... (by DELB)
|
by harshada
c++
|
what is mean by try and catch in c++? |
Mar 3, 2013 at 6:00am
[2 replies] Last: Control reaches the try statement by normal sequential execution. ... (by prem waghmode)
|
by Deftwun
Script to download sources, make, and build
|
I've been working with SFML and SFGUI lately and I would like to keep my libs up to date with the latest sources from their respective repos. I'm using mingw an... |
Mar 3, 2013 at 5:46am
[1 reply] : So after spending most of the day googling and reading I've come up wi... (by Deftwun)
|
by velikan123
Add string value to array
|
Inside a while loop, I have an array of CAPACITY = 32, and 16 string values/elements in the array. When I add a string value via if (current_size < CAPACI... |
Mar 3, 2013 at 5:24am
[1 reply] : give us the rest of the code so that we can see the whole thing like w... (by kohlh)
|
by shameless
getline?
|
Okay, I have tryed to solve this problem for some hours now but can't get it correct. I still don't get the function getline to work. The last couts will appear... |
Mar 3, 2013 at 4:58am
[1 reply] : #include <iostream> #include <windows.h> #include <conio.h> #include ... (by vin)
|
by AARRGGHHH
Need help with very simple C++ program
|
Okay, this is a very simple "Calculate the area of a triangle" question for an intro to Comp Sci class. The program works fine. I added a loop to ask the us... |
Mar 3, 2013 at 3:36am
[2 replies] Last: Uhgh. The program is working fine as is. It was the Dev C++ debugger... (by AARRGGHHH)
|
by imgregduh
hashtable question
|
for an open-adressing has table using linear probing for collision resolution, what is the average time complexity to find an item with a given key? also sam... |
Mar 3, 2013 at 2:24am
[no replies]
|
by fpiro07
getline() doesn't end input
|
string str, temp; char c; cout << "Insert the character that ends the input:" << endl; cin >> c; cout << "Insert the string:" << ... |
Mar 3, 2013 at 1:46am
[no replies]
|
by fpiro07
string.getline() doesn't work
|
I wrote: string test; getline(cin, test); I should be able to put into the string "test" a whole line of input, am I right? However, it doesn't ev... |
Mar 3, 2013 at 1:39am
[7 replies] Last: Still the same problem. I mixed up the extraction operator ">>" with t... (by fpiro07)
|
Mysterious variable assignment |
Hello. As the title suggests, I'm having this weird bug where an int var is being assigned a number that I didn't specify. It's on a Maze game project I'm makin... |
Mar 3, 2013 at 1:30am
[1 reply] : for (int count=0;count<3;count++); { ... (by Chervil)
|
by obliviga
Finding the min and max
|
Hello all. I wrote a program that gives me 100 random values from the range between -100 to +100. How am I supposed to find the minimum, maximum, and average of... |
Mar 3, 2013 at 1:15am
[1 reply] : If you can't use arrays then you just have to implement checks for the... (by MrHutch)
|
by Jas Singh
Question about deleting Node by value function.
|
So I made this function to delete node by value. But if the value of the node that I'm trying to delete doesn't exist, it crashes. Does anyone know how to fix t... |
Mar 3, 2013 at 12:40am
[2 replies] Last: Even after doing that, it crashes. void deltarget (int value) { ... (by Jas Singh)
|
by Skullgunner1
How does the whole process really work?
|
Hi! I'm currently on lesson 8 of this C++ tutorial series: http://www.youtube.com/watch?v=dViOxoQu64k I was very curious, as my dream job is being a game en... |
Mar 3, 2013 at 12:19am
[1 reply] : how do games really work? This is a very broad question so it's har... (by Disch)
|
by Ratzer
Ball stuck in movement
|
So I am making a game of pong. I just want to make my ball bounce around the screen. I can get it moving fine if I put this code in if(iPongBallX + iPongBal... |
Mar 2, 2013 at 11:41pm
[3 replies] Last: Need help on something else now though. How would I add to that code t... (by Ratzer)
|
by skace
Sine rule problems.
|
Hello, I am trying to make a program that can use the sine rule to calculate the missing side of a triangle. However, the program keeps returning incorrect answ... |
Mar 2, 2013 at 10:58pm
[10 replies] Last: Thank you! :) (by skace)
|
by Arayil
multiple source files
|
Hi, I've been seeing people declare a class in a .h file, then define it inside a .cpp file. I thought that seemed like good style so I tried to so it as well b... |
Mar 2, 2013 at 10:42pm
[2 replies] Last: Thanks, Framework! (by Arayil)
|
by Foxy
Help
|
Hello, I don't know how to find the sentence with the least number of words, I figure out how to count the words, but I don't know how to use strlen and strc... |
Mar 2, 2013 at 9:30pm
[no replies]
|
by ecburges
terminate after std::out_of_range, what erase();
|
In my code there are three uses of the erase function in my procedures. But I keep getting the following error message. terminate called after throwing an inst... |
Mar 2, 2013 at 9:28pm
[11 replies] Last: Thank you @Cubbi that worked great! (by ecburges)
|
by marecrisium
...stuck on a book problem
|
This one is from Prof. Horstmann. I just can't put together the idea he has set up as a programming book excercise. I hope that there is somebody out there who... |
Mar 2, 2013 at 9:07pm
[2 replies] Last: Yeah, it would seem as if he dumped out all the parts, leaving but jus... (by marecrisium)
|
by moot1
idea
|
can you guys please give me a program idea that will take me a couple of hours to do not simple but not advanced like it can use loops and stuff thanks |
Mar 2, 2013 at 8:42pm
[2 replies] Last: try making a question answer program, or if your that bored like a rid... (by no names232)
|