49,766 Topics

Member Avatar for
Member Avatar for j1979c

[B][FONT=Arial]err....... is there any command line in Dos to make it full screen, so that i can put it into a system(" ") line in my c++ console program? Thanks in advance.[/FONT][/B]

Member Avatar for Electrohead
0
305
Member Avatar for Kind hearted

Hello all, I am ammature rpohrammer althought i started w2ith C from 1996 but got trouble with world. still like C++ and c. I have question right now which programming language is best for low leval programming . i am doing right now c++ have some experinace in c and …

Member Avatar for SpS
0
125
Member Avatar for Phantom Driver

Hi, I'm a college student at UAH that hasn't taken a computer science class in almost 2 years. I need this one to continue on with my major, but I can see that I remember a lot less than I'm suppose to. Basically, I don't understand what he's asking for …

Member Avatar for Rashakil Fol
0
132
Member Avatar for sifuedition

Well, here is the gist of the problem. When I read in a file of integers, if there is a formatting character at the end, the last integer is repeated. For instance, in the code, it is reading i01.dat. If that file reads as follows: 2 3 4 5 with …

Member Avatar for vegaseat
0
174
Member Avatar for winbatch

It seems that with vectors you can only delete via iterators. Since I can access and update by index [], shouldn't I be able to delete by index? The reason I ask is that when you delete via the iterators and the value exists multiple times, I believe it deletes …

Member Avatar for Rashakil Fol
0
5K
Member Avatar for bsdpowa

Me again, this time I really have a problem. I'm trying to add an element before a certain element. Example: List: 1,2,3,4,5 Find: 2 Add: 45 List: 1,45,2,3,4,5 Now the thing is that when I find the number and try to add a new number it adds OK but then …

Member Avatar for bsdpowa
0
368
Member Avatar for kohkohkoh

i tried for sorting the link list for weeks already, and yet still couldnt get the output as what i want. i search through the forum and i found the coding "algorithm" (in blue color) for sorting...but it seems tooo alit bit toooooooooooo long. so far, i was trying to …

Member Avatar for kohkohkoh
0
184
Member Avatar for Judas

Can anyone help me with some goods sites that give detailed explanations of libraries available to c++

Member Avatar for SpS
0
132
Member Avatar for jahowell01

I am getting lots of error messages from this program. What am I not doing. I followed the suggestions in my book as well as from fell dani members, yet I am still not able to get this program working. It is suppose to add, average, find the smallest and …

Member Avatar for SpS
0
499
Member Avatar for Ancient Dragon

_tempnam() always returns a filename in the "c:\\temp" directory, regardless of the parameters. This example was extracted from MSDN. I need to generate a unique filename in a directory other than c:\temp -- any ideas how to do that other than writing my own function? maybe a c++ solution? Note …

Member Avatar for Ancient Dragon
0
272
Member Avatar for Domo

Hi all.. i am doing myC++ assignment and i got problem in adding, deleting, and modify records. It should be some problem, but i dunno what's wrong. can somebody give me some tips for doing this ? THanks

Member Avatar for l3.azarmehr
0
135
Member Avatar for Enzo

Hey Guys.. Any one have an idea about how can i send an e-mail using C++,i mean using sockets in C++ can anyone provide me by the code i need thanks in advance. Enzo

Member Avatar for Enzo
0
78
Member Avatar for yaniv

Here it is... Design, write, and compile a program to determine if the digits in a three-digit number are all odd, even, or mixed odd and even. Your program should prompt the user to input a three-digit number and echo-print the number. If the digits in the number are all …

Member Avatar for yaniv
0
2K
Member Avatar for Acidburn

Hello boys and girls, I'm wondering around with arrays and I'm trying to get one up so that it grabs a user inputt'd char and adds it on then prints out the contents of the array so far ie "Enter character" : User enters : 'A' Prints out A on …

Member Avatar for Acidburn
0
84
Member Avatar for Juvat

Greatings from the [URL=http://www.wc3campaigns.com/forums]WarCraft3Campaign[/URL] forums! We are at a bit of a dilema. The WarCraft 3 TFT WorldEditor is a very flexiable program, and the latest in big works is the workings on a custom MMORPG. The prople working on the Dark Crescent claim that they have a C++ programmer …

Member Avatar for SpS
0
174
Member Avatar for Micko

Hello, copying from one file to another is a simple matter. In C it's something like this: [code] int main(void) { FILE * fp1, * fp2 ; int buff; fp1 = fopen ("name", "rb"); fp2 = fopen ("name", "wb"); while ( (buff = fgetc(fp1)) != EOF) { fputc(buff, fp2); } …

Member Avatar for Narue
0
568
Member Avatar for winbatch

If I have a vector<string> and do a find, the find returns me an iterator. How do I know what position of the vector does the iterator point to? for example. [code] vector<string> myVec; myVec.push_back( "A"); myVec.push_back( "B"); myVec.push_back( "C"); myVec.push_back( "D"); vector<string>myVec::iterator myIter = myVec.find(myVec.begin(), myVec.end(), "C" ); if …

Member Avatar for winbatch
0
119
Member Avatar for Mahen
Member Avatar for Mystic_Skies

Hello, I'm having a problem with a line of code that doesn't seem to be working right. I have no idea why it keeps telling me I have a missing ';' before '-'. Any help would be appreciated. Here's the error in Visual Studio: [color=RED] : error C2143: syntax error …

Member Avatar for Mystic_Skies
0
110
Member Avatar for kavsak

Hi I have a C++ dll which was designed to handle an Access 97 database using dao classes. I now need to convert this to Access 2000 / 2002, but when I run it, I get 'database format not recognised' errors. Presumably, I need to recompile with different settings somewhere. …

Member Avatar for kavsak
0
115
Member Avatar for Mahen
Member Avatar for Mahen

[code]#include <iostream.h> class Cat { public: Cat() {itsAge = 2;} ~Cat() {}; GetAge() {return itsAge;} void SetAge(int age) {itsAge = age;} private: int itsAge; }; int main() { Cat *p = new Cat; cout << p->GetAge() << endl; p->SetAge(10); cout << p->GetAge(); return 0; }[/code]<< moderator edit: added [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code][FONT=Fixedsys][co[u][/u]de][/co[u][/u]de][/FONT][/url] tags …

Member Avatar for SpS
0
80
Member Avatar for BenBen84

So, I just recently started using VC. Before I had been using DevC++, gvim, and NetBeans(for java). The reason I got into Visual C++ is because I have also begun learning to use DirectX. I used Visual C++ 6.0 starter edition for a couple months, and then just a few …

Member Avatar for BenBen84
0
333
Member Avatar for cppforlife

Can someone point me to some nice tutorial about CGI using C++! Tahnk you.

Member Avatar for cppforlife
0
121
Member Avatar for Acidburn

Hello, I'm trying to capture letters entered by user into an array using classes. Although I'm having some unknown difficult issues: [code] //main .cpp file. int main() { char guess = 'a'; hangman game1; game1.getbuffer(guess); guess = 'b'; game1.getbuffer(guess); return 0; }[/code] at the minute as you can see I'm …

Member Avatar for Acidburn
0
107
Member Avatar for stackOverflow

Hi all, I'm supposed to develop a very simple game as my project this year. And we are supposed to use dos compiler only ( i don't know why though). Is there any website which could help me in the very basics of game programming like drawing shapes, moving those …

Member Avatar for Drowzee
0
166
Member Avatar for Ene Uran

Does anybody know if there is a good C++ code library that can process MIDI music files?

Member Avatar for Stoned_coder
0
85
Member Avatar for JoBe

Hello ladies and gents, Im reading about working with maps and there is small programm example shown in this chapter. Now, when I write this code into the MS VC C++ compiler and compile the code, I get like over 90 warnings, however, when pressing compile again, they all are …

Member Avatar for Ene Uran
0
694
Member Avatar for plshelpme1

1. Introduction The objective of this project is to develop an Airline Reservation System. Green Dot airline has just purchased a computer for its new automated reservation system. You have been asked to program the new system. You are to write a program to assign seats on each flight of …

Member Avatar for Lerner
0
861
Member Avatar for Continuous

I am taking an intermediate programming class, after a somewhat long hiatus. One of the first projects is a somewhat simple assignment that takes a date from the user, and checks to see if it is valid, using classes. I have been working on it for a while, and i …

Member Avatar for nattylife
0
238

The End.