General C++ Programming - July 2008 (Page 5)

logic problem with best out of 3 jumps
 
i want the user to enter 3 dates and 3 pole jumps and give the jumps and dates in the order of best to least but i"m having errors and logic mistakes can some o...
[2 replies] Last: After if (hight1 > hight2 && hight1 > hight3) You open one uneccecar... (by Mitsakos)
linked list operation doubt
 
Hi, I want to write a program using a linked list for storage data of type char. I defined a linked list class and a node struct I want to read a txt file na...
[6 replies] Last: Thanks so much for the explanations. I have fixed the problem. (by yanhe0116)
by karang
Basics of printers
 
Hi I am using DEV C++ I went through the tutorials http://www.codeproject.com/KB/printing/printerorientation.aspx the code in this tutorial changes th...
[1 reply] : Would you care to elaborate on the error you are receiving? (by Zaita)
by karang
GetDefaultPrinterA' undeclared
 
Hi I am using this code to set the default Orientation of the printer int SetDefaultPrinterOrientation(short dmOrientation) { HANDLE hPrinter = NU...
[2 replies] Last: If GetDefaultPrinter is a WindowsAPI function. Have you included the w... (by Zaita)
by karang
[Linker error] undefined reference to `ClosePrinter@4'
 
Hi I have made a program that will change the settings of printer orientation. But I am getting linker error. " [Linker error] undefined reference to...
[1 reply] : You have not linked to the correct library. (by Zaita)
by kotoro
DNA Sequence Analysis program very slow, suggestions to improve speed?
 
I fixed the bug I asked assistance for previously I now would like to optimize this program to run as quickly as possible. The most important parts are the ana...
[7 replies] Last: I changed a bit of the program, using an STL container type and change... (by kotoro)
Templated operator overloading with nested classes
 
 I’m writing code for a positioning system, and I’m trying to apply some dimensional type-checking. The class structure I’m trying looks like (construc...
[2 replies] Last: You just have to use typename to tell the compiler that V::diff is rea... (by glemaur)
by kk84
cant use isdigit
 
Hi all, I declare a struct n an array of variable frm the struct. however I cant use isdigit to check whether hte use enters a no. etc struct Airline ...
[2 replies] Last: I have code in my program that uses isdigit, and it doesn't include cc... (by Aakanaar)
how to read characters from a file
 
I will get this posted soon
[2 replies] Last: And you'll have to learn (Aka doing your homework) in order to be able... (by mikeb570)
by kk84
How to find out the position of an array
 
Hi all, Im doing a program to store student data. I initialise a Structure and a student array of 50. like Stdinfo Student ; Let say if I store a name Jo...
[3 replies] Last: Thanks lots guys (by kk84)
shipping program trouble
 
well i finally decided to try out this site, for the reason of my problem. i don't understand why my code is not working properly every thing looks to be in pl...
[9 replies] Last: On my system the 10 pound box would cost $42.05 By the way the fu... (by guestgulkan)
How to get the newest mingw complier?
 
hello guys! I has downloaded the Eclipse for c++;then I want to get the complier of MinGW, but the download page of www.mingw.org is not available!(http:/...
[1 reply] : I got it just fine a few months ago. It could be just that the server ... (by Duthomhas)
by petike
A "Naming Conventions" question
 
Hi, there are some conventions in C++ language in naming the variables, objects, functions, etc... . And for example the convention for naming classes are: the...
[2 replies] Last: Each employer and even different projects will have different 'style' ... (by Duthomhas)
by idono
time calculator
 
im haveing trouble getting this thing to work. the program is to work like this if there are 60 seconds in a minute it will show the time in number of mintues...
[9 replies] Last: You did all the hard work. We just pointed you in the right direction.... (by Aakanaar)
static libraries and linking
 
Okay, I'm coming into some legacy code at my new job here and need some input. We have a GUI app on top. The GUI links to SL1.lib. In the SL1.lib, it us...
[2 replies] Last: Every linker I have worked with works like this: Libraries will usual... (by bnbertha)
by aatzaz
Urgent
 
hello all. well i need turbo C++ compiler 3.0. but where i can download it but it must be free. ok thanks.
[1 reply] : A quick google search brought me up these three links among many.. ... (by Aakanaar)
by dambar
To access private methods via public interface
 
Hello! I'd like to share with you what I found out. Please tell me if it's a normal and well-known behaviour, or something unexpected (as I think). If you de...
[2 replies] Last: Yep, but it's a pointer of type Interface that actually points to a De... (by dambar)
packet sniffer
 
hi can anyone tell me how to read network packets using turbo/borland c++.
[2 replies] Last: thanx (by aashuitdude)
by karang
Printer Name
 
HI I have written following code to get the default printer name #include <windows.h> #include <iostream.h> #include <conio.h> #include <winspool.h> ...
[1 reply] : You forgot to put an '&' in front of nLen when you call GetDefaultP... (by Duthomhas)
by karang
cstring doesnot name a type
 
Hi I am using this code CString GetDefaultPrinterName() But while compiling the code I am getting the error "cstring doesnot name a type" Is th...
[3 replies] Last: The keywords you list brings up a lot of good hits for me. The thin... (by Duthomhas)
July 2008 Pages: 1... 34567... 10
  Archived months: [jun2008] [aug2008]

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