
please wait
by Barry Allen
Array Help
|
Can Someone help me with this problem , been breaking my head over it for a while now :) //Problem. The first line of the file "trees1.txt" holds the numb... |
Dec 12, 2013 at 9:57am
[6 replies] Last: Understood. It looks like you have the correct logic to traverse the... (by EtDecius)
|
by StaySavvy
Stuck on array sort project!
|
Okay, what this project is supposed to do is take 6 numbers(money) from an input file, display the numbers, sort them in ascending order, then display the avera... |
Dec 12, 2013 at 9:26am
[1 reply] : you are using your averageNum and sum variables without initializing t... (by Yanson)
|
by h4ever
generate number
|
New target: I would like to generate number from sumerizing of the previous numbers like this: // 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... |
Dec 12, 2013 at 8:20am
[4 replies] Last: Topic changed: I would like to generate number from sumerizing of the... (by h4ever)
|
variable not declared in this scope |
I'm basically supposed to find the the average of the course and the individual average and stuff, but I'm stuck on the course average. My other functions work,... |
Dec 12, 2013 at 8:10am
[1 reply] : The first two are simply, describing the error exactly. You are using ... (by Zhuge)
|
by genxi
Am I using atof wrong?
|
Hi Everyone, I am attempting to convert a c string to a float number with atof. But for some reason, atof always return an integer, which I really could not fig... |
Dec 12, 2013 at 6:46am
[1 reply] : You are using it correctly. #include <iostream> #include <cstdlib> #... (by JLBorges)
|
by tavuk
Can someone explain please?
|
I'm wondering what loop to use and whatnot to complete the assignment because I don't have the slightest clue. Ten cannibals begin to eat thirty missiona... |
Dec 12, 2013 at 5:24am
[4 replies] Last: - Check if NumberMissionaries==floor(NumberMissionaries). That means t... (by tavuk)
|
by WolfNinja2
Game Development Engine Troubles
|
Hey all, I really would love to get involved in C++ GAME developement but can't find any way to install a graphics engine! D: I already know some basic C++ and ... |
Dec 12, 2013 at 4:37am
[1 reply] : There is always SFML: http://sfml-dev.org/tutorials/2.1/ The links a... (by giblit)
|
by tengh
Please Help! Beginning C++ Through Game Programming Menu Chooser Excercise
|
I'm going through the book Beginning C++ Through Game Programming and I am dealing with an exercise that wants me to rewrite the menu chooser program that I cre... |
Dec 12, 2013 at 3:31am
[1 reply] : I hope std::strings aren't out of the scope of your learning material:... (by xismn)
|
Row code C++ |
Hello, i am beginner here. I wanna ask code in C++ about: >> make row/line code in C++ from THESE OUTPUT: 1) 122333444455555666666 and 2) 1121231... |
Dec 12, 2013 at 3:29am
[5 replies] Last: Okay, it's work, thank you eyenrique (by Ilham Pebry Pratama)
|
by fahmankhan75
Print out Letters (1,2)
|
I have made a function that will read a string sentence and output the alphabets. So far I have made two letters. //Image of alphabets const string letters = {... |
Dec 12, 2013 at 3:17am
[23 replies] Last: Manga have been busy lately so didn't have the time to thank you. I di... (by fahmankhan75)
|
by jlpurnell
Stack around the variable corrupted?
|
I get this error: Run-time check Failure #2 - Stack around the variable "city" was corrupted. Please help! What is wrong? When I remove every instance of... |
Dec 12, 2013 at 2:47am
[1 reply] : when you call sizeof() to get your array size, you are getting the num... (by yulingo)
|
by eman2013
if statement
|
I am building a game name Othello and my problem is that when i get to b==3 and their is a piece at the location stating b=2; doesn't send my code back up the i... |
Dec 12, 2013 at 2:30am
[no replies]
|
by vincent0777
Writing onto a notepad
|
Is it possible to use c++ to open a notepad.exe and then have a message read out on the notepad? |
Dec 12, 2013 at 2:17am
[2 replies] Last: Sorry, but your post is a bit unclear: Is it possible to use c++ to ... (by andywestken)
|
by hdn
Polish notation C++ code
|
I saw many people have problem with Polish notation code, so I decide to share my "Polish notation Code" (write in C++). Hope this would help someone. This is j... |
Dec 12, 2013 at 2:14am
[no replies]
|
by squidkobe
Help With file output
|
Hi, I am trying to get this program to write out the inputted information onto the file "parts.txt", however it is filling the .txt file with garbage and huge n... |
Dec 12, 2013 at 2:12am
[no replies]
|
by DreCatchDubs
C++ Functions And Arrays Part 3
|
I'm need to make a remove function that removes the first occurrence of the passed integer value, if found, and shift each following element to the left and add... |
Dec 12, 2013 at 1:58am
[no replies]
|
by wink91wink
Search function in array?
|
I have been trying to figure this out for 2 days and I keep getting errors, and I am just about to lose it haha. My teacher says to "Add code to implement f... |
Dec 12, 2013 at 1:09am
[3 replies] Last: Thanks so much for the help guys, I keep getting an error on the brack... (by wink91wink)
|
by Tanya122
debug error
|
the pennies variable is being used without being initialized. I cant see the error. I'm getting an error #include <iostream> #include <iomanip> usin... |
Dec 12, 2013 at 1:08am
[3 replies] Last: input_coins() takes integer values as arguments, which means that take... (by heebleworp)
|
by OmegaZero69
Stats class array problems
|
I have 3 files of a Rainfall/Stats class and I am having problems with array, it is not getting the input and making the total,average,etc not work and giving t... |
Dec 12, 2013 at 1:03am
[2 replies] Last: yeah after a couple of min I saw that and changed a few other lines no... (by OmegaZero69)
|
by vincent0777
error C2451: conditional expression of type 'std::basic_string<_Elem,_Traits,_Alloc>' is illegal
|
i am making a perimeter/area code that first asks which shape the user would like to find... i am pretty sure that my issue is that im using string incorrectly.... |
Dec 12, 2013 at 12:47am
[2 replies] Last: that did the trick :D thank you. i never remember that double equal op... (by vincent0777)
|