Beginners - December 2010 (Page 5)

loop bug in my calculator
 
sup peps ! this is actually my first C++ program i also checked to find an anwser but found none ... let's have a look at it see were it bug! // my first...
[3 replies] Last: thx ne555 and shredded its work well, now i can try to get that thing ... (by mtlchronick)
Autologin
 
Hey guys, Iam using C++ and was trying to make an auto login website here is my code soo far. string website; cout << "Enter a website : "; website="http...
[1 reply] : To be more specific.. i want an application where i put the username a... (by rafailos)
by Da2
How To Take Desktop Snap-Shots
 
What is the way to write a c++ code which takes a desktop snap-shot similar to Windows 7's Snipping Tool ? For example, copy a pic of the desktop: x: 50-100...
[5 replies] Last: Thanks man, I asked for it and I will check to see how it works.. ! :) (by Da2)
Handles to a window object
 
I created this program (code below) only to display a window, the very basics. I am using Visual Studio 2010(trial), using Visual C++. I created a class windowm...
[no replies]
Can anyody tell me a small chanlenge to do with strings
 
I want to create a very small program using strings but nothing is coming to my head. A challenge for begginers.
[6 replies] Last: Calculate the net strength of a string by adding the ascii values of a... (by Zia Ur Rehman)
C++ block of text to cout
 
Heylo, I am trying to write a simple program (in/output to terminal) but at some point it must print a large block of text. I want all the lines of the block ...
[2 replies] Last: setw() only sets the width of the field of output. http://www.cpl... (by Zia Ur Rehman)
by firix
Introduction to Algorithms
 
Hi, Introduction to Algorithms, Second Edition Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest Clifford Stein "An Introduction to...
[2 replies] Last: Introduction to Algorithms, is a very good book. iTune U also has vi... (by closed account z05DSL3A)
Vector Iterator
 
Hi dear C++ community! I'm facing a little problem with a searching algorithm. This is my code: void deletePerson(vector<persoon> &lijst) { syst...
[2 replies] Last: Thanks I'll see if it works :D EDIT: Thanks so much! Works like a c... (by xander333)
Displaying hex for an integer value by cout?
 
I happened to be at a forum, reading posts and I read that you could do this: int a = 100; printf("0x%X",a); This would display 0x64 [(100) 10 = (...
[3 replies] Last: By the way, which one is better? Using namespace std and then cout or ... (by Zia Ur Rehman)
A problem with rand() and srand()
 
Here is a very simple program. It basically consists of three different files. main.cpp #include "./RandomHashes.h" using namespace std; int main(i...
[9 replies] Last: One other question. When srand() initializes the random number genera... (by Zia Ur Rehman)
by Maerle
String manipulation
 
How do you change a letter of a string to another and how do you invert the letters of a string? Exemple: Francisco -> FrXncXscX Francisco -> ocsicnarF
[9 replies] Last: seems familiar: http://www.cplusplus.com/forum/beginner/33124/#msg1781... (by ne555)
Open GL won't recognise "FILE" as syntax in Open GL
 
My Open GL program is trying to read and display a file. I largely copied this and have been trying to adapt it, there generally no syntax errors. This is the ...
[1 reply] : FILE is part of stdio. You're not including <cstdio> (by Disch)
Doubling Pay Problem
 
As I continue to teach my self C++ I want to thank quirkyusername for the help with my earlier question. As for this one, I am learning how to write a program ...
[1 reply] : Line 0 > #include <iostream> Line 1 > #include <cmath> Li... (by closed account 3hM2Nwbp)
by Faff
IntelliSense Visual C++ unavailable ?
 
Hello :) Currentely playing around with VC++ Windows Forms. But appearentely IntelliSense is unavailable (says: IntelliSense: 'unavailable for C++/CLI'), is...
[1 reply] : Last I knew, Intellisense wasn't available in VC++ 2010 for managed pr... (by closed account 3hM2Nwbp)
Adding yearly percent increase
 
I can not figure out how to get my program to add each year's rate increase to the following year. Here is my code so far and any help will be be greatly appre...
[1 reply] : you're not updating membership each year, it uses the original value o... (by quirkyusername)
countdown!!
 
Hi...! And happy christmas! I want to make a program that will have for example 3 numbers! 23 43 12! These numbers will be taken from a notepad! And they will ...
[10 replies] Last: There's 77 exclamation points on this page, including the one in this ... (by Albatross)
by chipp
create and deleting display in c++
 
could we create something like: "hello, there..." on the screen and it scroll from right to left? and is ittrue that we can create snake game in c++ conso...
[9 replies] Last: system() is strongly deprecated, Timur, and for a good reason. See her... (by Albatross)
by machi
eclipse
 
how to install a c compiler in eclipse ?
[no replies]
by machi
compile
 
do not respond to this do not respond to this #include "stdafx.h" #include <string.h> # 1 define VALID #define INVALID 0 #define D_A 0 #define D_B ...
[no replies]
by Sixx
Checking array of object for "magic number"?
 
I have a class Figure and from that class I have derived basic figures in chess (pawn, king, etc). I need to simulate a chess board so I created an array as: ...
[5 replies] Last: there is memset (by hamsterman)
December 2010 Pages: 1... 34567... 35
  Archived months: [nov2010] [jan2011]

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