Beginners - March 2012 (Page 54)

missing function header
 
missing function header (old-style formal list?) what does that mean???
[7 replies] Last: int main(); //<<*** what's this semicolon doing here?? { //1 char bo... (by guestgulkan)
simple math question pass by reference
 
How can you get a number of seconds, passing by reference, converted to hours+mins+secs... Im thinking hours = second/3600 but to add mins do you need modulo...
[10 replies] Last: #include <iostream> using namespace std; int main () { int secs, m... (by Shinigami)
for loop problem
 
Hello wondering how I can get my program to run i=1 j=2 i=1 j=3 i=1 j=4 i=2 j=3 i=2 j=4 i=3 j=4 Used #include <iostream> using namespace std; i...
[2 replies] Last: Thank you so much! (by vbgal001)
error? why?
 
#include <iostream> using namespace std; int main() bool main() char main () {//1 char board = {}; bool inviboard = {}; int turn = 0; ...
[5 replies] Last: #include <iostream> using namespace std; int main() // Only one ve... (by roberts)
please HELP with my class list
 
hello; so i have this assignment Write a program that define a class IntegerList with the following member variables: Int counter Int list Member ...
[8 replies] Last: iHutch105 thank you so much ^_^ i can't believe i spent half an hour... (by lulu girl)
by Chikoy
Need help on my code
 
Hi, I'd like to ask help on this project(school project) of mine. The problem that was given to me is to decipher this message "YH RWJAFQC HHVBQIPEACHS V...
[4 replies] Last: They(We) will, as soon as we figure out a good way to present a very i... (by OxBADC0DE)
What on does Variable depend?
 
Well if C++ has not a links to predictable variables I get view on next thing May be predictable sound (or any other especial types) variables are stored in a ...
[1 reply] : Please stop creating multiple threads on the same question. Here is t... (by Moschops)
Please help to find
 
Please try once else: )) Thanks coder777 but I ve mixed up I need over a predefined variables C++ currently Would you try best on one more link )))))
[1 reply] : The closest thing C++ has to predefined variables is what's in the sta... (by Moschops)
General Question About Classes
 
I have a general question about classes. Suppose we have the following function declaration in a header file: some_function(double, double); Similarl...
[3 replies] Last: yes (by Peter87)
How to find out any keywords
 
Hi i need to start writing a program but what I need within is to know a keywords(C++ currently) How can i receive them Please drop a link
[1 reply] : http://en.cppreference.com/w/cpp/keywords (by coder777)
accepted layout of code/curly brackets {
 
Just wondering what the general consensus is with things like this (as an example)...which is preferred in terms of layout/readability? I usually go with the fi...
[9 replies] Last: @L B I prefer the first because the braces match up and you can easi... (by Gaminic)
Find out a keywords
 
Hi i need some help How can I get needable keywords of C++ related to sound processing such as bufsize srate bufpos hbp spl rspos I hadnt found them not in one...
[1 reply] : bufsize srate bufpos hbp spl rspos None of these are keywords in C+... (by Moschops)
if else statement trouble
 
I am writing a program (this has been days in the making) and I am a newb. We are learning if statements. I need to have the program allow a user to input the...
[9 replies] Last: GRex2595, thanks but I had figured it out so I marked the thread solve... (by badkaykay)
need a help by developing a c++ program for me
 
I need a C++ code for "Who wants to be Millionaire" for completion of my assignment before this week. The requirements of the software is: The question with its...
[14 replies] Last: I think, generally speaking, newcomers can tend to be afraid of plain ... (by MrHutch)
please help me !
 
hi i have assiment and i shuld Suppos to send it after a few hours. the ass is LAB1-2 Chap10 A) Write a function, removeAt, that takes three paramete...
[14 replies] Last: how i change ? If you do not know how to change the code, you are n... (by Moschops)
binary search doesnt work
 
hello I want to implement binary search.The code seems correct to me,but I think a small mistake I cant see makes it not work,here is the code(and thank you in ...
[2 replies] Last: 1) int binarysearch(int v,int x,int low,int high); should be written a... (by beginner2011)
C++: I can't properly get the processing time for this program. Please help. clock_t?
 
This is a code which sorts arrays. I use clock_t to determine the processing time for my code. However, it always stacks with the time taken from before. It ...
[2 replies] Last: Look at this http://www.cplusplus.com/reference/clibrary/ctime/clock/ ... (by coder777)
by nivek
Class pointer.
 
class class1 { //variable declaration }; class class2 { public: int func(void *msg); // others func... }; int class2::func(void *msg) { ...
[1 reply] : It's a cast. It changes one type (void *) to another (class1 *) which ... (by coder777)
use map to find object
 
I need to use a map [and possibly an iterator] to traverse a vector and change the priority of an object. Can someone explain how to do so?
[3 replies] Last: Generally, containers don't search containers. I understand the gene... (by cire)
by ozone
need help
 
i am a newbie and i have been reading bout the tutorials but i do get confuse some time. can someone give me some guide or hint and tips on how to be a programm...
[3 replies] Last: Read code, make code, debug code. And do something that interests you (by ResidentBiscuit)
March 2012 Pages: 1... 5253545556... 71
  Archived months: [feb2012] [apr2012]

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