General C++ Programming - March 2008

i need a help!!!header file
 
QUESTION You may choose a file format. You are required to read the header of the file and display all the information about the file. 1. Give an overvie...
[no replies]
by clover
FTP
 
I can't seem to find good C++ FTP client source code. Nor can I find good C++ FTP server source code. All I want is some code that demonstrates how C++ listens ...
[3 replies] Last: Use these links http://www.codeproject.com/KB/IP/ftpclientclass.as... (by guruplus)
Dynamic component
 
I'm using C++ Builder. I created a few TMenuItem and assigned event OnClick each TMenuItem to one function. Now I don't know, how can I get information, which c...
[2 replies] Last: In Borland C++ builder, if u want to access any companents of Form ... (by guruplus)
by clover
Lock Computer
 
I want to keep my screen running, but lock my computer while I'm away using this program: I looked in the MSDN website: http://msdn2.microsoft.com/en-us/libr...
[1 reply] : you need include #include <windows.h> also;) #include <windows.h... (by guruplus)
C++ EOF Problem :( ! Need assistance...
 
Hi everyone; In the following code i control whether an empty space in the file or not. If there is no empty space between the records of the file then fread...
[no replies]
by amsami
speeding up the code
 
Please, can anyone give some ideas about speeding up a C-code?
[6 replies] Last: @Grey Wolf Then try it with debug build;) (by guruplus)
Help with 'seat arrangement' code
 
There's this complicated code that I have very little idea on how to get it done properly. Take a look at the code first: // movie.cpp : Defines the entry ...
[5 replies] Last: Ummm... I see a cout << "welcome... but I don't see any cin >> ??? ... (by mrclarke)
Changing text of a console application
 
Is there any way to change text of a console program? Like, a game, changing the score...
[1 reply] : cminusminus, you must trust yourself. Here's a simple score changer. S... (by mrclarke)
Getting data from a file off of the internet
 
I have been searching forever and I can't find a solution for this problem. It is very simple to do in C#, and I'm considering rewriting all of my code because...
[no replies]
here are my errors for the program on the one more fuction heading
 
#include <iostream> using namespace std; double getSales( char, division ) double findhighest(double, double, double); int main() { double sales1, s...
[1 reply] : #include <iostream> using namespace std; double getSales( char di... (by millky)
string to path conversion
 
I am coding a mathematical simulation in c++, and each time I run the simulation, I want the output data (from an ofstream) to save in a unique location. I am ...
[1 reply] : of course it does not work. as you may know, the parameter of filepath... (by millky)
static class associative container
 
Is there any way to create a static class multimap<string, Date> container. Date is user-defined type and I want to have this container in its derived...
[no replies]
back again this time with functions.
 
#include <iostream> #include <iomanip> using namespace std; double CalculateRetail(double, double); int main() { double wholesaleCost, markupPe...
[1 reply] : double CalculateRetail(double wholeSale, double markUpPercent) { ... (by closed account z05DSL3A)
small typedef question
 
Sometimes the makers of tutorials give an example to purposefully trick the reader. This leads to them learning a distinction between two things. This example i...
[1 reply] : I doubt if your example code compiles good. the lines: typedef ... (by satm2008)
Templates, nested classes and static members
 
Hello, How do I initialise the static member variable in a template class that has type equal to a nested class? using namespace std; template <typ...
[3 replies] Last: If that's what you wanted, it's perfect. But I thought you wanted the ... (by ropez)
Linked List/Node ID
 
Hello there! I have been trying to figure this out all day. I am writing your standard linked list program, but with a twist. I want to write a program that ...
[2 replies] Last: >>Works like a charm Are you sure, what you mean? At glance you ... (by satm2008)
Console Window - Clear/Refresh w/out Flash
 
I've seen a batch file update its contents without the text "flashing." Anyone know how to do this in C++? I can't find it on Google, but it can be done.
[no replies]
Columnar reporting in C++ Visual Basic
 
The results of a sales program must display like this: "final results must be laid out in a business-like, columnar report" So, how in the heck do I acc...
[no replies]
by hazda
Help needed urgently
 
Hi ya’ll Say for instance you have a surface divided into squares and an object which is supposed to move through all these squares. Sum squares have obsta...
[1 reply] : Give numbers to each square, and then if it is obstacled give false, ... (by guruplus)
Visual studio
 
I find it kind of annoying, the fact that you have to include systempause at the end of everything. Anyway around this? Also i program using codewarrior in c...
[1 reply] : "I find it kind of annoying, the fact that you have to include systemp... (by closed account z05DSL3A)
March 2008 Pages: 123... 8
  Archived months: [feb2008] [apr2008]

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