General C++ Programming - April 2010 (Page 14)

quick check please!did it all myself
 
Hey guys! I have an exam tomorrow and just want some one to take a quick look over this program(GCD ...
[2 replies] Last: I would suggest looking up GCD on Wikipedia. It gives a simple algori... (by jsmith)
TEST SCORES #1
 
Hi please i need help with this question. Here it is: Write a program that dynamically allocate...
[1 reply] : Please don't double post: http://cplusplus.com/forum/beginner/22290/ (by chrisname)
Beginner. C++ and GUI
 
Hi, I'm new to this forum. I have been looking at some books and tutorials on C++. I'm going to b...
[3 replies] Last: I just want to add to this so that it doesn't hurt THAT bad next year.... (by Computergeek01)
by Deimos
Const-correctness issues
 
Hello again, I'm trying to understand const-correctness with references, I think I understand it ...
[5 replies] Last: Ok, got it, thanks! (by Deimos)
by anzki4
"Moving" strings and ints. (1,2)
 
int main () { goto next_step; next_step: { string name; ...
[28 replies] Last: So the question is, how to change this function, so that instead of go... (by anzki4)
by wrz234
how to print the output from right to left
 
example: printf("Result"); printf("123\n"); printf("1234\n"); printf("12345\n"); the resu...
[5 replies] Last: @ chrisname, hmm, yes indeed, sorry i forgot but the ' - '. my mis... (by ManuAizen)
by Deimos
A generic handle-based resource manager
 
Greetings, I've been working on a resource manager which intends (amongst other goals) to replace...
[6 replies] Last: You have to make up a CImageHandle rather than just use CHandle<CImage... (by kbw)
Linear search
 
hi....im new to C++ and still getting a lot of problems understanding how it really works 1. i ne...
[15 replies] Last: Welcome to www.manoloblahnikcvs.com, from here you will hunt for any d... (by huanghuiyue)
by wrz234
alignment problem
 
Can correct my code below for the alignment problem #include <stdafx.h> #include <stdio.h> int...
[1 reply] : See here: http://www.cplusplus.com/reference/clibrary/cstdio/printf/ a... (by chrisname)
C++ loading large images slows down program?
 
I am loading around 5 images 512/512 pixels each and I change those images around, after I change t...
[no replies]
by prog
Use of macros: shouldn't be deprecated?
 
Sometimes I see an intensive use of macros in C++ code. Shouldn't be much better to use generics...
[13 replies] Last: int a , b; memset(a, 0, 12); Theoretically, that should work. If a... (by chrisname)
by tanago
write the name of a file in .txt doc
 
i want to make a program that prints the names of the files in a text doc. for example in C:/test/ t...
[4 replies] Last: 10x very much btw it is working (by tanago)
Classes and Inheritance
 
Ok, I have a class project to basically design a program that handles classes and vehicles. What I h...
[1 reply] : In order to get the previous list of code to compile you have to remov... (by denis90)
dynamic creation of template class objects
 
Hello, I need to read a delimited file and then extract fields and other information that i want...
[6 replies] Last: I`ll try to read all as string and store them in a vector or some dyna... (by anotheruser)
how to remove newline character
 
hello every one in the below code void List::Fileoperation() { static s3eFile* a_FileHa...
[4 replies] Last: char* p; if (ch=='\n') {p=&ch; p=p+1;} //should work (by wadim)
URGENT Problem Related to linked list of Struct
 
I have Structure typedef struct{ char* id; char* name; char* state; }productInfoT; I creat...
[2 replies] Last: List1(productListT) through this m just showing that list1 is a typ... (by hussainalishahid)
by Null
sizeof gives wrong results?
 
Hello, I have a question about sizeof() operator" struct s1 { short y; int *p; }; int mai...
[9 replies] Last: Thanks. (by Null)
Heap Corruption
 
This is the .cpp file for a class, have a Heap Corruption problem and are sure the problem lies here...
[4 replies] Last: thanks a lot, everybody. I am yet a beginner in this and are still lea... (by plurple)
by Zata
Print a value to a file?
 
Hello, I have this code: BioAPI_FAR FARRequest=0; BioAPI_BOOL bFARPrecedence=0; ...
[8 replies] Last: If you're new to files, you may as well start with the C++ iostream li... (by kbw)
templates and ld error (linking)
 
Hi, I had previously programmed a vector and matrix template class library (put together in the s...
[4 replies] Last: I didn't really got your problem. Templates are just not compiled in... (by imi)
April 2010 Pages: 1... 1213141516... 24
  Archived months: [mar2010] [may2010]

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