Beginners (Page 80)

Need guidance
Hello guys, I want to create a bot that automatically (flawlessly) plays (and beats) a minigame on a...
[no replies]
Not compile
the code wont compile ,, whats wrong with this code ?!! #include <iostream> int main(){ ...
[3 replies] Last: What you are using in each of your if statements are conditional loops... (by Militie)
return pre sized vector
Hi guys.. I stumble a upon a little which i cannot come around.. I have function of type pair, ...
[1 reply] : So your code is roughly is: std::pair<int, int> your_code(); void othe... (by MiiNiPaa)
by Ganado
Question on constexpr strictness
So I was looking into stuff that can be done with constexpr variables and functions, and the jist ...
[6 replies] Last: Thank you MiiNiPaa, all is clear now. (by Ganado)
by Kman
3 unresolved externals?
I know what it means, but I'm having trouble finding the darn things. Can someone help me find them?...
[10 replies] Last: void getData(ifstream&,studentType , const int); void getData(ifstrea... (by Kman)
Positive numbers and avg
Write your question here. Enter any positive numbers. Loop stops when there is a negative number. Ou...
[3 replies] Last: A few issues then, you have two variables: n, and num. What job is ea... (by Ganado)
HELP!!!!!!! I hate factorials.
I have been banging my head against the wall with this problem since yesterday. I have tried everyth...
[8 replies] Last: Feel free to post your solution in case someone else has the same issu... (by giblit)
return 0?
I ask it here even if it may not be an easy question. What is the reason of writing down return 0 in...
[6 replies] Last: Well, it also marks the end of your program. Nothing after return 0; ... (by cactus)
by Dogman
No errors, but the program doesnt do what i want. class header included.
The program is supposed to ask the user for the length. then check if the length inputted is greater...
[11 replies] Last: wow...something so trivial..i need some sleep. Thank you so much fg10... (by Dogman)
by cdin
C++ c-string substring problem
Problem: Implement the following functions. Each function deals with null terminated C-Style string...
[2 replies] Last: Note: You may not use any c-string functions other than strlen(). U... (by dhayden)
Hello, I'd like to start by saying I am very new to programming. I am taking Computer Simulations in...
[2 replies] Last: You'll need to create and allocate the array at run time. Because of t... (by dhayden)
by camk16
Here is the question: Write a program to compute, and later output to the screen, the average o...
[12 replies] Last: Or just try changing the set precision to 3 instead of 2 and see what ... (by thomaselder84)
Coordinate conversions
I need to convert one coordinate type to another, The first coordinate type has distance, angle t...
[6 replies] Last: Cool, got everything to work. Thanks! (by DarkLightHitomi)
by camk16
What's wrong with this?
int x = 0; while( x <= 0 ) { cout << x << endl; if( x == -1 ) cout << "Negative" << endl...
[6 replies] Last: Perhaps the answer is just that: that it is illogical to have a loop g... (by camk16)
by thor36
Can't successfully compile libcURL sample in CodeBlocks
Greetings all I am trying to compile this sample libcURL code: #include <stdio.h> #include...
[2 replies] Last: Sir thank you very much, that was it! =) Can you please explain me wh... (by thor36)
by Bjord
Too Many cin Inputs Required
I am trying to write a simple program to better acquaint myself with if, else if, and else statement...
[5 replies] Last: I only see you asking for input twice in your example. Could you post ... (by Zhuge)
by alexBB
How to extract real part from complex number?
I'll tell you c++ is phenomenally difficult for a beginner. I need to extract the real part from a c...
[8 replies] Last: Everything, everything is working now. Thank you very much for your he... (by alexBB)
What is the correct way to declare a function with no Input?
So I Want to have a function that gives an output but has no input. Which is the correct code? ...
[2 replies] Last: Both are correct. void in argumnet list is a C leftover which does e... (by MiiNiPaa)
Need help compiling a payroll program
I think I'm pretty close. I'm getting an error "no default constructor exists for class "Payroll"". ...
[6 replies] Last: Payroll total(int i, double r, double h, double p); Declares a funct... (by MiiNiPaa)
Is it possible to...?
Below are my coding. It runs very well. However, as you can notice, there are several functions that...
[no replies]
Pages: 1... 7879808182... 94
  Archived months: [feb2015]

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