49,766 Topics

Member Avatar for
Member Avatar for chound

How to show a list of options and allow the user to select the options by using arrow keys and enter.

Member Avatar for vegaseat
0
187
Member Avatar for blackhawk

I have a question. Still trying to understand. I am using borland c++ vr 4.5. I am working on a project that usees the sleep function 4.5 does not support this function. Is there somewhere i can find a win16 version that would work in this program. tnx ron hathcock

Member Avatar for vegaseat
0
297
Member Avatar for Acidburn

i got my program to do stuff, but i wondered if i can take it to the next level... when a user enters a number of 1458.125478 i got it to do abs.... google is soo good!! but now im wondering if you could display just + or - depending …

Member Avatar for 1o0oBhP
0
411
Member Avatar for helloworld

i need some help, is there a program which will only have let say 40k of memory, for example a program that will use queues, when you enter a number it will say you have use 10 k memory , please someone help so me a example, please

Member Avatar for 1o0oBhP
0
163
Member Avatar for broken_recode

I simply have to overload square brackets in order for a program to work. I know the syntax for 1-dimensional array. It goes something like this: class MyArray { private: int *arr; int size; public: MyArray(int s) { size = s; arr = new int[size]; } int & MyArray operator[](int); …

Member Avatar for Narue
0
2K
Member Avatar for Acidburn

hello, ok here it goes... I've got a char array but it doesnt want to let me add data to it!! I cant figure out why [php] //skip the program heres the line... int chararry[12][10] = {Jan, Feb....} [/php] but I keep getting an error saying its not been initialized... …

Member Avatar for 1o0oBhP
0
287
Member Avatar for dja

Basically this is the problem: I was using Microsoft Visual C++ on my old computer that had Windows 98 installed on it and I had no problems. Now I have a new computer with Windows XP and I am still using Microsoft Visual C++ Introductory edition. The problem is, once …

Member Avatar for Narue
0
100
Member Avatar for Geek-Master

Sorry to be such a gimmy gimmy... but I couldn't find any threads on some code that clears the screen, just like DOS's 'CLS' and Bash's 'Clear'...I need a function that does the same thing as both CLS and Clear. Thanks for reading and or helping out.

Member Avatar for Narue
0
631
Member Avatar for JoBe

Hello ladies and gents, I was making this small exercise in wich I have to enter a certain date meaning, day, month and year. If entered it should count the amount of days from the beginning of that year and print it. I found a solution for this, but was …

Member Avatar for Narue
0
304
Member Avatar for JimmyB

ok heres the deal...i keep getting errors with the system 32 file for the install saying "C:\Windows\System32\autoexec.nt the system file is not suitable for running ms-dos and microsoft windows applications" i have been to the forums at microsoft and tried their resolve and its still the same. can someone please …

Member Avatar for mikeandike22
-2
101
Member Avatar for halbichmi

Hi, Can someone show me how I would use the multi-threading instead of a case statement for parsing out a file? I have a file that is currently being parsed in C#. Creating Primary keys and foreign keys and putting the data in several dat files. Then I use dts …

Member Avatar for halbichmi
0
141
Member Avatar for Diod

The Eternal Sun is an open-source MMORPG that is currently in need of developers and other people that are willing to work on the project. If you want to get into the dev team, register at sourceforge.com and mail me at [EMAIL=diod631@users.sourceforge.net]diod631@users.sourceforge.net[/EMAIL] [b][u]More details:[/u][/b] [b]URL:[/b] [url=http://eternalsun.info/]http://eternalsun.info/[/url] [b]License:[/b] GPL/GNU [b]Graphics:[/b] 3D …

Member Avatar for alc6379
0
186
Member Avatar for JoBe

Hello ladies and gents, I'm trying to reverse a string when one is entered with cin.getline, so when typing for example: testing My output should become: gnitset Ive written this piece of code and it works but, because the string has a certain length and not the whole length of …

Member Avatar for JoBe
0
170
Member Avatar for Caesar Were

Well hallo comrades, just been having problems with character strings. Wrote a program that requires typing in of information yet it wasn't possible to represent the character strings in a comfortable manner for whoever is to use the program. Also is there a possible way to make the inputing of …

Member Avatar for 1o0oBhP
0
138
Member Avatar for sa-rulz

Hi I have been given a assignment of making a "inventory control program of a book store in c++" i have done all the parts except for two 1. I have to delete a record from the file (i am using fstream and saving the file i need the piece …

Member Avatar for 1o0oBhP
0
99
Member Avatar for Nabs

Hi Anybody knows a site where i can get sample C++ problems to solve, particularly regarding structures, arrays and bisection searches? Thx

Member Avatar for harshchandra
0
149
Member Avatar for Vova

Hi All! How can I link modem to the Sound card in my PC? (in C++) that meens I want to listen a telephone line user via my sound card output! I want to forward audio signal from modem (internal PCI- COM4) to PCI sound card! with Win98SE in my …

Member Avatar for chound
0
120
Member Avatar for nico

hi all i am a beginner and i use the devc++ to compile my programs ,here is my question ,after i compile my program the window disappears without giving me a chance to view my excutable file. i did my homework and found this piece of code online ,(supposed to …

Member Avatar for Acidburn
0
140
Member Avatar for Sphyenx
Member Avatar for ahmed_design
0
125
Member Avatar for Acidburn

Hello, i'm wondering if you can delcre a varible in int main and use it in a function? eg [PHP] int main() { x = 7 cout << x<<endl; return 0; } function -- { ....blah blah } [/PHP] does something to x delcared in local scope (int main) Or …

Member Avatar for Acidburn
0
90
Member Avatar for Geek-Master

I'd like to ask if anyone knows how to randomize character variables, and if it is possible to define the possible characters it can use in the randomizing process. Any info would be excellent ^^ T#4NK$.

Member Avatar for Geek-Master
0
186
Member Avatar for skeet123

I have been working on this program awhile and I am almost done with it except for trying to get the output to look like what instructor wants. Here how the output should look: [PHP]BREAKING DOWN: list = DUMP: (size = 4, first = 4, last = 3) DUMP: head …

Member Avatar for 1o0oBhP
0
91
Member Avatar for dan34633

ok, i need to write a function called merge_lists that take two call-by- reference arguments that are pointer variables that point to the heads of linked lists of values of type int. the two linked lists are assumed to be sorted so that the # at the head is the …

Member Avatar for 1o0oBhP
0
411
Member Avatar for chound
Member Avatar for 1o0oBhP
1
230
Member Avatar for Acidburn

if (a==b && a > 1 || a < 31 && b > 1 || b < 31) cout << "true"; from what i can understand I've told the compiler that if a is equal to b and a is greater than 1 or less than 31 and B is …

Member Avatar for frrossk
0
103
Member Avatar for cujo401

I have a script to read a file that has text on lines. The script is supposed to take the text and make them into space delimited and save the new text to a new file. I am able to only accomplish this with 1 line from the text file. …

Member Avatar for cujo401
0
343
Member Avatar for Acidburn

after using the search and everything, I tried to write my own little code that compares 2 strings. #include <iostream> using namespace std; int main() { char stringa[12]; char stringb[13]; cout << "enter the data for string a " ; cin >> stringa; cout << "enter the data for string …

Member Avatar for 1o0oBhP
0
114
Member Avatar for Mr.PinkBunny

[COLOR=Magenta] I'm using a code segment out of a book that I'm learning from. For some reason it isn't working and I haven't been able to figure out how it works. When I use the [I]srand[/I] function it says I can't convert my (short) [I]Number [/I] variable to a (void) …

Member Avatar for frrossk
0
139
Member Avatar for JoBe

Hello ladies and gents, Ive written a program wich I'm almost certain it'll work, Ive only got one problem, I need to write an if like this: int a = 0; if ( u!=x) a++; Now, u is a floating variable wich is divided before this selection by 2, 3, …

Member Avatar for 1o0oBhP
0
130
Member Avatar for Lothia

Well as probably half the population of noob programmers out there, I have done those 2 things, quit, and stopped because of school. Well i am trying to get back in, i want to make a game like 90% of the noob programmers out there and i have tuts on …

Member Avatar for Lothia
0
107

The End.