Beginners (Page 72)

perfect number
 
#include<iostream.h> #include<conio.h> main() { clrscr(); int s=0; for (int i=1; i<=1000; i++...
[3 replies] Last: Fransje he may be using Turbo C++ Yeah, but still it is good practic... (by Fransje)
by Hotice
Constructors
 
Suppose you were defining a string in the default constructor. Now, suppose you wish to append somet...
[6 replies] Last: Even if you did something like: #include <iostream> using namespac... (by Hotice)
by junn
#if defined(SYMANTEC) not skip when i use Dev C++
 
==================================================== void CG_Reset() { #if defined(SYMANTEC) cs...
[2 replies] Last: umm.... i dont know yet :p i'll check wheater it is defined already or... (by junn)
Calculation Program for C++
 
Hello, I am new to C++. I am trying to build a program that solves this the bellow problem. I've sta...
[1 reply] : As the assignment says, you should use a for loop to try all possible ... (by Zhuge)
by Shiro
Button callback problem
 
i cant handle button press when the button is child from another window. when i put the button on m...
[2 replies] Last: hm, sometimes i got the BUTTON HWND on lParam from MainProc i did it ... (by Shiro)
Need Some Help (With a simple calculator)
 
I've been having trouble with my calculator its my first program.I keep getting an error at the last...
[3 replies] Last: Thank you help me a lot. This was my first try at making a bigger code... (by zackemattackem)
please , i have exam in my college about c++
 
i have exam in my college in c++ and the problem that exam in english language and i am from egypt...
[19 replies] Last: @amara waseem default appears at the end of all case..it is execut... (by vlad from moscow)
One or more multiply defined symbols found
 
I get this error when I #include my bitmap class in multiple .cpp files. How can I include it in mor...
[18 replies] Last: That seems to have fixed it. Thanks for all your help. :) (by FlyingMonkey456)
Need help with simple code!
 
Hello! First week learning c++ and one of the "try this" problems was to convert currencies." It wor...
[6 replies] Last: start_type_money is string. Try changing this to a float. Also, you ne... (by Hazique35)
Why bother with memcpy?
 
Why use memcpy instead of type-specific copy functions, e.g. strncpy? #include <stdio.h> #include...
[10 replies] Last: Damn, I should have seen that. Of course! (by divine fallacy)
Determine if they could represent side of a triangle.
 
Give me logic to determine if the 3 sides represent a side of a triangle.
[2 replies] Last: thnks fun2code, I just found on internet. It is a series of three ine... (by dipen45)
Undefined reference to...
 
Hello, I was trying to make a simple queue by using classes. Problem is, I can't seem to get it wor...
[5 replies] Last: The problem is that you did not allocate an object of type Queue. Aft... (by vlad from moscow)
Increment variations
 
How to use increment? And what difference dose the position of the increment operator, ++ make? Ex:...
[1 reply] : i = n++; would set i to the original value of n i.e. 5 and would the... (by Pickle Gunner)
Generating different random numbers
 
I have a loop that will generate 10 random numbers between 1 and 25 and then insert in into an array...
[7 replies] Last: Yet another method... The STL and C++11 are terrific, but what happen... (by fun2code)
Checking if a variable is an integer
 
Hello, I am now to C++ (I started yesterday), and I am trying to make a program that spits out prim...
[6 replies] Last: Congratulations and welcome! My method is to divide an odd number by... (by SamuelAdams)
by orly24
tetris game in turbo c++
 
hi everyone... I'm a first year I.T. student. our prof. told us to make a tetris game using turb...
[14 replies] Last: How do you write such a code in just 1 day without knowing about this ... (by PalashBansal96)
structures in file
 
i created a file for snake game and append scores with name of that person in a structure every time...
[1 reply] : Check this out: http://cplusplus.com/articles/DzywvCM9/ (by Stewbond)
by Shiro
How to EnableVisual Styles?
 
Hello im using IDE“S Codeblocks and UDEV with Borland cpp as compiler. im trying to enable visual s...
[2 replies] Last: i guess this is Visual Style https://dl.dropbox.com/u/61491349/imeji%... (by Shiro)
by kid204
problem with getting data from file
 
hi sweet friends ! i'm a newbie in C++ and i have some trouble with my code in order to get some ...
[1 reply] : My first thought was the code looks more complex than it needs to be. ... (by Chervil)
by Grif
Help with deleting lines
 
I am writing a program that gives you the least amount of change when you type in a number. It is so...
[3 replies] Last: I need C++ program of calculator that solve such an expression 10*(24... (by faiz)
Pages: 1... 7071727374... 81
  Archived months: [dec2012]

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