General C++ Programming - February 2009

Opens and Closes
 
I need help with this code. I am a beginner programmer and do not know what is wrong with it. After ...
[4 replies] Last: Alright thanks! (by Imoddedu)
Hi little question
 
hi im new to the forums and i have been programing in java for some time now and i just started lea...
[4 replies] Last: oh ok i see thanks for the explanation though xD saw my mistake after ... (by CrimsonAngel)
C++ matrix
 
hi... evry body? how to make a multiplication and addition matrix that has a two arrays and in evry...
[2 replies] Last: http://www.boost.org/doc/libs/1_38_0/libs/numeric/ublas/doc/index.htm (by Zaita)
[solved] do while loop runs correctly once
 
I've got the following code which works right the first time through the do while loop which encompa...
[8 replies] Last: Here was the final code if anyone is interested. // Window_repla... (by kds1398)
by Disch
Determine if integer type is signed
 
I'm working on some template functions to automate some stuff I find myself doing frequently with in...
[7 replies] Last: awesome. Thanks. (by Disch)
Using sprintf with WriteConsoleOutput
 
So I have a task to use sprintf with WriteConsoleOutput. Now my problem is I'm not to sure how I can...
[2 replies] Last: So your saying I'd have to still use printf() to display the c-string? (by Mythios)
How would i do this????
 
Im suppose to write a program that inputs an amount of time in whole seconds. The program should com...
[6 replies] Last: Actually you're lucky, I did the same thing about a year ago and it wa... (by n4nature)
process time (elapsed time) is always zero
 
Hello Everyone I have one code for image compression alogrithm in c++. For my part, I have to m...
[9 replies] Last: No. The smallest resolution supported by the system is 1/CLOCKS_PER_SE... (by helios)
Question About Overwriting .exe Code & File Size Changings - C/C++
 
Assume i have 4KB .exe file & opened it by any standard function on C++. 1. lets say i want to ov...
[6 replies] Last: yes the IP is of type const *char. If const *char puts \0 at the end j... (by f ben isaac)
Codewars: The Bot Programming Contest
 
Dear Sir/Mam, It’s our pleasure to inform you that ABV-IIITM, Gwalior is organizing its annual Te...
[no replies]
i need file procsseing and control break
 
hi to everybody i'm learnning c++ i have a project about control break page break and reading from a...
[no replies]
by gopalm
Defining Properties in C++ similar to C# ???
 
Hello I found this code and it works in Visual C++ 6.0 and also in Microsoft Visual Studio 2005. B...
[4 replies] Last: I have not read it but I clocked this the other day: Implementing ... (by closed account z05DSL3A)
float to string
 
I am working on a project for a class, and I was just wondering if there is a function for convertin...
[6 replies] Last: Ya, too bad. float f = boost::lexical_cast<float>( "3.14" ); ... (by jsmith)
by Disch
Unicode filenames/strings
 
I'm looking to be unicode friendly. Really, the only real time I'll need to deal with strings is fo...
[10 replies] Last: Valid points all around. Perhaps my dream of a perfect world where te... (by Disch)
[SOLVED]Template Linker error - seperate files.
 
I'm getting this error 1>main.obj : error LNK2019: unresolved external symbol "void __cdecl BlitArr...
[2 replies] Last: Awesome I'll give that a try - I haven't used templates to much so the... (by Mythios)
declaring const array trouble...
 
Heres my problem: I have a function to generate an array of prime numbers called genprime(), whic...
[4 replies] Last: platypus1130's requirement was: How would I go about making the ar... (by Skorj)
#if #endif directives
 
1) Does an #if directive always preceeds a constant expression with a condition? If so, based on th...
[11 replies] Last: I'm sorry, disregard my mindless blabble above... It would be handy f... (by seymore15074)
by Zlug
using the string class inside anther class
 
Hello all, I'm getting quite frustrated with this. I'm trying to create an instance of a string cla...
[5 replies] Last: You can also specify #include <string> using std::string; In... (by Skorj)
Problem with getline
 
This program is for counting words in a string. It would work fine if I could get the second getline...
[5 replies] Last: Glad you solved it :) I agree it's a lot work for something quit si... (by Scipio)
Problem with sscanf
 
Halo, I am facing a problem with sscanf function which my program will crash when executing the ssca...
[1 reply] : sscanf assumes the variables you pass are at least of size int (either... (by Disch)
February 2009 Pages: 123... 14
  Archived months: [jan2009] [mar2009]

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