Beginners (Page 3)

SDL.h No such file or directory
 
I get this error: http://imgur.com/a/ltM93 Everything works ok with SDL until i try to use the ...
[1 reply] : Instead of -lSDL2 I think you should use `sdl2-config --libs` . And... (by Peter87)
by Dagr
Help!
 
Hi guyz i need to count Surface Area and volume of toroid i need formulas....
[2 replies] Last: thanks (by Dagr)
summation symbol in C++
 
Write your question here. any one here can help me please....? my question is that "how we can wri...
[7 replies] Last: > std::cout.imbue Not actually needed on Unix/Linux since you're usin... (by Cubbi)
by Kmpck
Convert CString to DIR variable
 
Hi guys. I have been doing well lately but have ran into a snag. I am trying to figure out how...
[6 replies] Last: Hello Kmpck, A few months ago when I went looking for "dirent.h" I fo... (by Handy Andy)
what is this argument?
 
I was reading a source code of a software and came across this line of code. static void clea...
[2 replies] Last: you can leave the name off args in function defs. for example void... (by jonnin)
Terminating a the program whenever the same input was entered.
 
I'm trying to run this program whereas if i input the same number previously, it would terminate. I ...
[2 replies] Last: Thank you so much, sir! (by theansweris3)
by mrwhit
Beginner. Need help.
 
I am trying to write a program that will read a 100 element array and output the mean, median, min v...
[3 replies] Last: Hello mrwhit. Changing the return type of the proto type does not fix... (by Handy Andy)
Decimal to binary conversion using a function
 
Hello everyone! Hope you all be fine.. I m trying to convert a decimal number to binary using a func...
[2 replies] Last: #include <iostream> #include <string> using namespace std; string in... (by lastchance)
Expected Expression error on an "else if" clause.
 
I have tried everything I know about fixing "else if" clauses. Can someone provide some direction on...
[4 replies] Last: This is probably beacuse you have the else if statement inside your if... (by sheel)
Function to sort array of pointers to an array?
 
Just as the title suggests. I am absolutely clueless and cannot not get anything to work in my favor...
[6 replies] Last: The algorithm compares all elements with the following (i.e. + 1...) ... (by dhayden)
Undefined Reference to 'WinMain@16'
 
As the beatles once sang, "help, I need somebody, Help, not just anybody, Help, you know I need some...
[3 replies] Last: Hi Thank you both for your assistance with this. Changing the m to lo... (by GregMoss)
Vector problems
 
Hi, I'm creating a title screen for my game. The title screen will include 3 fields, set up as such:...
[5 replies] Last: You are correct, fixed this last night too. Thank you for your help, i... (by MatiasMunk)
help with if-else statements
 
Hey guys total newbie here this grading software excercise is giving me trouble. I cant get the sec...
[2 replies] Last: Hello codefox10, Welcome to the forum. PLEASE ALWAYS USE CODE TAGS (... (by Handy Andy)
by csharp
To check for prime number with FOR loop
 
hello all, I am trying to write simple program to check entered number whether prime or not. I ha...
[3 replies] Last: I forgot to mention that the program also shouldn't quit and should b... (by mbozzi)
How to make function return pointer to vector
 
Not sure if I'm going about this the right way. I have four vectors (card Hands) of 13 (cards) objec...
[6 replies] Last: Whoops! was in fact a typo lol. It is #include <vector> . No other ve... (by kingkush)
Function not working as it should
 
Hi all, could someone with a kind heart help with this program? Question: Write a function Numb...
[2 replies] Last: thanks @gunnerfunner, I finally figured it out (by mikofat)
by Rufyi
Need help with simple code.
 
Roll two dice repeatedly until you roll the same total value twice in a row. State how many times i...
[5 replies] Last: Hope i explained it well enough. I should have used a bool for the whi... (by kingkush)
Created class not passing by reference
 
I have a couple created class that I can't get to pass by reference. string parseTokens(queue...
[4 replies] Last: Think I figured it out, thanks for the advice and feedback! (by cdubbs85)
Sending all output to a file
 
I am trying to get all of my answers/numbers to be outputted to my .txt file, but I am only getting ...
[1 reply] : You are only writing to the file on lines 46-48. If you want to output... (by Peter87)
how to DON'T print empty array cells
 
Hi everyone! Is there any way to print out only the "full spaces" of the array? Basically I have ...
[4 replies] Last: Hello lapolis, I have been playing with a struct and this is what I c... (by Handy Andy)
Pages: 12345... 64
  Archived months: [jan2017]

Cannot post in this page. To post a new message, go to the first page.