Beginners - September 2012 (Page 46)

Calculating Age
 
I'm trying to calculate a person's age, but I keep getting errors. What is wrong here. Thank you #include<stdio.h> #include<conio.h> #include<iostream.h> #inc...
[3 replies] Last: Thanks xhtmlx I'm getting ahead of myself. (by rock4rigo)
*Urgent Help*Input Validation
 
I need help with my code. I'm really bad at c++. Please help me validate this code.the account number should be between 1000 and 9999.should issue a error messa...
[no replies]
by Aceix
I need the 'h' word!!!
 
I need "HELP"(do not use help for topic but not content) HAHAHAHAA!!!! LOL!!! Seriously, this code compiles but it duplicates content of the first node with t...
[1 reply] : http://www.cplusplus.com/forum/articles/40071/#msg216269 Your code ma... (by ne555)
Selection Statement
 
Hello, if you can help, I would like to know how to make this program identify a valid birthday, if the date is in the future and check if the person is more th...
[1 reply] : I do not see the call of system in your program. (by vlad from moscow)
can anyone identify the error in the following code?
 
vector<int>::iterator iter; //increment each score for (iter = scores.begin(); iter != scores.end(); ++iter) { iter++; }
[7 replies] Last: just started learning cpp a week ago. (by Yangfizz)
Can i get help with an ipo chart and c++ declaration statements
 
Tile limited wants a program that allows its salesclerks to enter the lengh and width(both in feet) of a rectangle and the price of a square foot of tile.th...
[2 replies] Last: input lenght width price of tile processing fees get lenght get... (by clavier)
what is wrong with the following code?
 
http://pastebin.com/piHSAXCZ
[4 replies] Last: yep. because phrase size is one more than the last valid index of your... (by Aramil of Elixia)
Draw binary search tree (inorder)
 
Draw binary search tree, which in inorder traversal gives the following sequence of numbers -> 1, 6, 3, 2, 5, 4, 8, 7, 9 thanks
[11 replies] Last: Not completely, can you please enlighten me (by magicalLeno)
How to save and show during runtime?
 
I'm trying to create a program that lets me save the user input and show it in a list. I don't want to write and read from a file, I only want it to save the in...
[8 replies] Last: Pointer to my vector It's not a pointer to a vector. It's a vector ... (by Peter87)
by Zu007
how to rotate the object(circle) in ellipse
 
how to rotate the object(circle) in ellipse / main() { int gd = DETECT, gm; initgraph(&gd, &gm, "e:\\TC\\BGI"); ellipse(250, 200, 0, 3...
[4 replies] Last: like solar system.A rotating planet on ellispe (by Zu007)
by l3st3r
how can i edit the content of a file??
 
Hi guys, im new at c++ and I wonder how to edit the content of a file here is my "text.txt" inputs Mark 1000 Lester 200 how can i make it become M...
[9 replies] Last: @l3st3r It makes it possible to send arguments to the program through ... (by Peter87)
by Alex5
change the value of a variable of an object that is in a vector of objects that is whithin a class?
 
Hi, I'm getting way out of my regular field to do this and I've been running into some stupidly complex situations. I've declared a class which has a variable...
[2 replies] Last: We'll need to see the implementation of your class, and these function... (by R0mai)
HOW TO DRAW WINDOWS
 
I want to know how i can draw my own windows control myself either using graphics.h or other graphics tools but now window control it self please can anyone gu...
[no replies]
Big string
 
Well, I need a string that holds about 10000 characters, but cin get stuck somewhere around 4000-5000. I tried using a string, and an array of chars.
[13 replies] Last: here is the problem http://rosalind.info/problems/prot/ you can check ... (by naskopw)
constructors
 
class A { public: A(A &); {...} } int main { A obj1; A obj2(obj1); and A obj1=obj2; (what is difference between these statements) }
[7 replies] Last: I think Sample sample_a = 10; is equivalent to Sample sample_a(Samp... (by Peter87)
Making a new API for ease in future programs
 
Hey guys, i'm getting a little more advanced into the language of C++ now (and also starting java) and one of the first things in java you learn is how to creat...
[3 replies] Last: OK guys i get ya, cheers for the help. As you said i probably have rea... (by TheBeardedQuack)
debug this code
 
#include<iostream.h> class room { int length; int width; public: room(int l, int w=0); width(w), length(l) ...
[3 replies] Last: May be this could help! room(int l , int w=0){ length = l ; width ... (by Raman009)
by tlw85
how to remove
 
hi i am new to this and an working on a programme basically i want to know how to remove the 'speech' part after its printed i.e #include<iostream> using n...
[3 replies] Last: btw, don't use system() , it's bad... (by chipp)
Template Class
 
I'm getting something like: 1>Main.obj : error LNK2019: unresolved external symbol "public: __thiscall DynamicClass<int>::~DynamicClass<int>(void)" (??1?$Dy...
[1 reply] : The linker does not see the definition of the default constructor Dyn... (by vlad from moscow)
SDL_gfx missing .dll
 
Hi, I am trying to use the SDL_gfx package and everything compiles and works until I try to use one of the gfx functions when I get a run time error "Th...
[1 reply] : I guess that MSVCR is an acronym for M icro s oft V isual C (++) R... (by chrisname)
September 2012 Pages: 1... 4445464748... 62
  Archived months: [aug2012] [oct2012]

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