Beginners - September 2012 (Page 39)

Function getting ignored.
 
Alright, so the idea is that this program takes values from an input file and returns their residual numbers on the grayscale (this is using an array). Problem ...
[4 replies] Last: Then, shouldn't placing the call after that loop work? By being outsid... (by desperatestudent)
Help with loops, and breaking it.
 
Alright, so what I want to do is make a program where it only stops if I hit a certain letter - in this case, 'e'. I have everything figured out, except after...
[5 replies] Last: @progrady: I tried that, but then that makes the loop not happen at al... (by degausser)
by xzbit
toggle ON and OFF button
 
void button1{ bool x = false; if (x = true) { button1->Text = "ON"; } else { button1->Text = "OFF"; } x = !x; } it can turn it ON when i click...
[2 replies] Last: You are declaring a variable at the beginning to be false, then checki... (by pogrady)
valid assignments
 
Given: int num1,num2,newNum; double x,y; Which of the following assignments are valid?If an assignment is not valid,state the reason.When not given assume th...
[1 reply] : In C++ all operations must occur to the right of the assignment operat... (by pogrady)
Cant get to the next step
 
Hello everyone, I am extremely new at this, and I am working on a little program. This program tells the user how many lunch calories they are eating in a...
[3 replies] Last: Ok guys, Thank you for the input, I pretty much got it figured out. It... (by Lonewwolf422)
For Loop (1,2)
 
Can someone help me to practice "for" loop. give me link plz.
[22 replies] Last: Thats worked. Thanks. (by prabhanuka)
Need help with errors please
 
********************************************************************************************************************************* //PROGRAM 1: WAGES //CSS 1...
[3 replies] Last: You have a syntax error in this line: cout << "Working for" <<HOURS<... (by pogrady)
by pooshi
Beginner level Strings Question
 
Hello, I have this program here that counts the # of letters in a string. I do not want to use gets(string) since it is from C. I have tried getline(cin,strin...
[3 replies] Last: char cstring ; cin.getline(cstring,1000); getline knows enough not ... (by Lowest0ne)
infinite loop issues
 
I am not sure why this is stuck in the infinite loop, but I know that it is due to the last function. See below: Here is my code: #include <iostream> using...
[1 reply] : Nevermind - I got it. (by spendersmokes)
RegEx simple query problem
 
"title": "Computer Science", RegExMatch(isbnDescriptionPage, "im)\Q""title"": ""\E(.*)\Q""\E", match) I want to extract the words computer science, bu...
[4 replies] Last: I have this excercice : Write a PHP program that checks the elements... (by hentaiw)
by MW130
xcode problem
 
Hi i open xcode to do c++ and I go to command line tool and i do c++ tool and then it opens, i go to main.cpp and i can type code, but there is no more output w...
[no replies]
Please check my code to for a 2d array boolean
 
resolved
[4 replies] Last: Thanks for your reply, it complies all right, I just wanted to see if... (by Judison)
by m4tt
can't make square root function work
 
I'm in intro to C++ at my school, and am trying to make a program to calculate the hypotenuse of a right triangle. what is wrong with my coding? #include <...
[1 reply] : You will have to use the using namespace std; or prefix each cout/ci... (by georgewashere)
by clodi
some help with loops is needed..
 
Could you please help wit this problem?? I do not understand why my "exit" loop is ignored! the prgram runs fine but if I enter "exit" it doesn't exit!! An...
[7 replies] Last: thanks a lot. I've got still a lot to learn I guess :) (by clodi)
Trouble with a recursive linear search function
 
so for a class assignment, i have to write a function that performs a linear search and is recursive, i have been looking up stuff and just havent been able to...
[2 replies] Last: if i pass in the i as an argument dont i have to rework my original fu... (by slinger)
In need of help with packets
 
When the packet occurs it displays a print but i am having trouble trying to replace that print. if (Packet == 0x00) { Print(0, 4, V_Name) } i know ...
[1 reply] : Huh? Neither your code nor your description are sufficient to underst... (by AbstractionAnon)
how to do this?
 
i'm a beginner and need some help. 28. Convert the following pseudocode to C++ code. Be sure to define the appropriate variables. Store 172.5 in the force...
[5 replies] Last: @noobneedhelp your output is correct. (by georgewashere)
by MW130
How to do the cimg
 
I am new and I want to put an image in my program and all I know is that I need CImg. I tried to and it downloaded but my xcode did not recognize the header! xc...
[3 replies] Last: MW130 these forums are here for you to learn, something that will requ... (by georgewashere)
Please Help to this Calculator Program in Dev C++
 
I Want to do a Calculator Program! My problem is i want to output my program like this! so that the output will display clear screen after type the variable and...
[13 replies] Last: The only thing I see in these posts is horrible grammar. (by Lowest0ne)
Need help again...^^...
 
#include <iostream> using namespace std; int main() { char n; do { int input; int num1, num2, sum, difference, product, quotient = 0; cout <...
[4 replies] Last: tnx for the explanation...and don't worry I don't plan to rely on othe... (by talahib098)
September 2012 Pages: 1... 3738394041... 62
  Archived months: [aug2012] [oct2012]

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