General C++ Programming - August 2011 (Page 17)

Image with fixed tag
 
Hi guys, here is the problem... i have a stl image and i want to create a tag with a name inside a s...
[no replies]
by Chathu
Type Casting !! What Is The Prob. With This Code. Plz Help.
 
I Can't Figure Out Why This Typecasting Method Gives An Error When Compiling. I Think My Code Is Cor...
[6 replies] Last: It is not giving you a float value because your function returns an in... (by vince1027)
by Chathu
Can A Function Return More Than Two Values?
 
Hi.. Remember I did Return Two Values In C,But How Can We Return Two Values In C++? I Googled It. ...
[17 replies] Last: Thanks All:) (by Chathu)
help with classes, base class and dervied class
 
hi there, below is project requirement, i have just complete the code, but getting error message tha...
[5 replies] Last: oh thanks..this was a typo....other than sloppy is everything else OK. (by john369)
Binomial Program errors
 
I am trying to write a program to calculate binomials, but I keep getting errors repeatedly. Any hel...
[9 replies] Last: Can you write the equation you want to solve, using the style ne555 us... (by andywestken)
Point of Sales
 
I'm trying to make a simple point of sales program... the problem is "what if the customer wants to...
[2 replies] Last: thank you very much!..thank you for posting the link....i'll study tha... (by raprap17)
Standard Compliance Check
 
I have the following that works fine with VS2010, but something tells me it's too good to be true ...
[5 replies] Last: Thanks, helios, andy. (by closed account 3hM2Nwbp)
by rudy01
cross-platform object file
 
Hi, I have a very simple c++ code, and it is using all standard static libraries, which I believe ...
[12 replies] Last: I also asked this in boost mailing list, but hasn't got any answer! h... (by rudy01)
Individual bytes in an int
 
Does anyone know how to separate the individual bytes in an int? int is 4 bytes long and I want to t...
[18 replies] Last: Sorry I got upset. (by Duthomhas)
I am getting some memory errors and don't understand.
 
I am taking C++ for the first time and using Visual Studio to compile the programs. Thus far I have ...
[12 replies] Last: I am having difficulty finding any other options and I know that the ... (by shacktar)
Problem in using database
 
Hi guys I'm trying to access data base(SQL server) using c++, I understand that i must use ado to d...
[no replies]
Passing Multidimensional Arrys in functions as const
 
I know that this topic has been discussed in other posts, but I have an additional question concerni...
[7 replies] Last: if function declaration is func(int ***p) { //inside the function g... (by umadevi)
Guys I want your help on this please with filtering array
 
I want to enter a value each time to the originator and then delete every time the items in array w...
[1 reply] : you can have a Counter variable to denote the index of filtered Vari... (by umadevi)
Does the size of an array of pointers to char matter?
 
Say you have char *words = {"louie", "douie", ......"movie"} I get a runtime error "Violation R...
[5 replies] Last: Regarding space : - Your array is a local variable, so it's stored on... (by andywestken)
Text Parser
 
Hi everyone, I am building a computer program in my free time that will hopefully become a full on p...
[3 replies] Last: Each line end with "enter character" . Using this we can find Line ... (by umadevi)
C++OOP Question
 
Hey I am not too sure what the s.readClasses() is for? am I suppose to make a class above with thi...
[3 replies] Last: s.readClasses() ; In this readClasses is the function in student c... (by umadevi)
Trouble getting colors to show on 2 triangles with DirectX
 
Hi, I am working from a book to build a DirectX program that displays 2 triangles. One is 1 solid co...
[2 replies] Last: Try using a DWORD for your vertices colour type. Wazzak ... (by closed account zb0S216C)
Problem in Template
 
Error Occured: no matching function for call to `search(int)' as I gave the def of search(Object da...
[4 replies] Last: stupid mistake:( Sorry people but thanks (by Umair Khan)
Skipping the iteration of the outermost loop
 
for(int m = 0; m < non_redundant_number; m++){ for(int n = 0; n < KTSIZE; n++){ if(strcmp(to...
[1 reply] : Couldn't you just use a break; to break out of the inner loop which wo... (by firedraco)
Default Parameters Set To Other Parameters
 
void Function(int p1, int p2); //Here is a simple function void Function(int p1, int p2=5); //...
[8 replies] Last: 3 cheers for optimization! good to know! :) (by Xploitz)
August 2011 Pages: 1... 1516171819... 29
  Archived months: [jul2011] [sep2011]

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