49,757 Topics

Member Avatar for
Member Avatar for sam_22

Hi everybody I am a beginner with C++ programming. And I need some help. How can I start with this program *********** [IMG]http://www.gidforums.com/images/gid/smilies/icon_smile.gif[/IMG] The program is using a text file of information as the source of the questions. The program starts by outputting a simple text information screen: Question Master …

Member Avatar for John A
0
214
Member Avatar for flageolet

hi I'm new to C++ and was wondering if it is possible to create variables in runtime. example: If I ask how many patiënts have to be operated, the program should create a variable for each patiënt that can contain their individual data. thx

Member Avatar for flageolet
0
93
Member Avatar for apurv

[B][COLOR=blue]I have been working with C, in TURBO compiler.[/COLOR][/B] [B][COLOR=blue]Now I have started C++, in VC++ compiler.[/COLOR][/B] [B][COLOR=blue]But, now, I m unable to clear screen (clrscr() don't work), can't write at any desired location (gotoxy() don't work)[/COLOR][/B] [B][COLOR=blue]Can anybody plz tell me their equivalents ?[/COLOR][/B]

Member Avatar for andor
0
106
Member Avatar for rbinc

I have to put the following block of code in a loop. It is to display a 10x10 array that will hold char values for a message encrypted in a transposition cipher. I have not been able to figure out a loop or a system of loops that can do …

Member Avatar for WaltP
0
265
Member Avatar for mrik1984

I need help. Can anyone send me a sample code of the porter stemming and the bottom up parsing algorithm using carbide.c++? Here is my email address [I]<< email id snipped >> [/I]I really need help. Thank You. Meyrick

Member Avatar for ~s.o.s~
0
56
Member Avatar for EJCBmore03

Hey guys I'm new to the variables in C++ I use TurboC++ program. If you could, please help me get rid of this one error that keeps popping up... It says "Declaration terminated incorrectly" and when I click on the error it tells me its the "{" at the beginning …

Member Avatar for WaltP
0
175
Member Avatar for flamecly

[COLOR=#000000]Create a class TicTacToe that enables you to write a program to play the game of tic –tac-toe.[/COLOR] [B][COLOR=#000000] [/COLOR][/B] [COLOR=#000000]The class contains as private data a 3-by-3 double array of integers. The constructor should initialise the empty board to all zeros. [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Allow two players. Wherever the …

Member Avatar for John A
0
164
Member Avatar for jan1024188
Member Avatar for John A
0
136
Member Avatar for rwagnes

Hey y'all, Could anyone tell me the syntax in C++ of a call to a Delphi DLL? Thanks

0
83
Member Avatar for martial

Hi everyone: Does anyone have an implementation of M/M/1 queuing with C++ Thanks in advance for your help

Member Avatar for Salem
0
41
Member Avatar for gabs

I made an application in vc++ on VS2005, but it doesn't work on non-development PCs. I did the same program on vs 0.6 and it worked very well. but perhaps there is another way to do it, say with a setup or something of the kind?

Member Avatar for jbennet
0
143
Member Avatar for joydsouza90

:?: How do you put a bitmap (or possibly jpeg) image on the screen in Turbo C++ ? I just want to display the picture on the screen for about 15 seconds or so and then move on to another screen. Please Help.

Member Avatar for ~s.o.s~
0
1K
Member Avatar for unclepauly

i am using a couple of methods to calculate the distance between any 2 points on the earths surface. the methods are the law of cosines, and the haversine formula. the law of cosines formula uses the C++ functions acos, sin and cos, all found in math.h: acos(sin(lat1).sin(lat2)+cos(lat1).cos(lat1).cos(long2−long1)) the haversine …

Member Avatar for unclepauly
0
98
Member Avatar for nitinmoriwal

Does anyone know , how to do the conversion from Ascii to long double? Please provide one example. Many Thanks.

Member Avatar for Nick Evan
0
384
Member Avatar for umairsaleem_88

hello!!! i need a tutorial or source code of any graphical programm (animation is preferred) in c++ using borland turbo c compiler v3. i shall be very thank full to any one who help me in this regard. thanks!

Member Avatar for WaltP
0
111
Member Avatar for sivaslieko++

Hi everybody, for example I have such a tree in c++: 23 / \ 1 45 \ / \ 2 31 52 \ \ 3 234 \ 5 I can print this tree in this way by using breadthFirst-level method: 23, 1, 45 2, 31, 52 3, 234 5 But …

Member Avatar for sivaslieko++
0
120
Member Avatar for joydsouza90

How do you put a bitmap (or possibly jpeg) image on the screen in Turbo C++ ? I just want to display the picture on the screen for about 15 seconds or so and then move on to another screen. Please Help.

Member Avatar for Puckdropper
0
83
Member Avatar for Elfshadow

I don't know if this too OT but so many people ask.I just got Sam's C++ in 21 days and it's great.Don't let the name fool you because the book is huge and I don't think I'll finish it in 21 days;). This is the best C++ book I have …

Member Avatar for Colin Mac
0
152
Member Avatar for deostroll

I have designed my own version of cout called gcout that works like cout but in graphics mode. But I don't know the idea behind how to make a caret (or a cursor that blinks). Does this caret thing have to do something with threading in turbo c++? If so …

Member Avatar for apurv
0
137
Member Avatar for murschech

In using "cin" for getting input I have about a 99% success rate. In the remaining 1% of cases the program does not pause for input. What causes this and how does one fix it? In ancient times when we programmed in C rather than C++ the same problem occurred …

Member Avatar for Ravalon
1
156
Member Avatar for jan1024188

ok here I want to know how to make colorated output in C and C++... For example: I want to print this string "zelena". The color must be green. Now how to get green output using [B]printf() [/B]in C and [B]cout << "zelena"; [/B]

Member Avatar for apurv
0
115
Member Avatar for JoBe

Hello ladies and gents, Was wondering if any of you could help me out with the following, sometime ago I had to reinstall MS V++ EE and ever since then, when I enter for instance 'std::' or 'cin.' I don't get a list with all the possibilities it has, normally …

Member Avatar for JoBe
0
117
Member Avatar for Gunner54

Hi, i have made a code. Its meant to announce a "Sentence" but i dont know how to make a string into a sentece. The string up to now only announces the first word of the sentece. [CODE] //Announce }else if(memcmp((void*)lpcLine, "/announce ", 10) == 0){ bRet = false; char …

Member Avatar for WaltP
0
163
Member Avatar for c++34

i'm writing a News class and their subclasses but i have a problem with that function.it tells me that function(virtual string ToFileFormat() ) must convert the news to a string that holds the file format of that news.(File format of each news are given after the class definition)And this function …

Member Avatar for John A
0
140
Member Avatar for jan1024188

hi I am new to C++ and I want to vrite some kind of "virus" for windows. The problem is, I dont want that command line opens when program runs. Its actualy unfinished loop, which beeps all the time. Now i want to know how to make "hidden" program. I …

Member Avatar for jan1024188
0
201
Member Avatar for indulgence

Create a class called Point which can be used to set and get a point (x, y) on a X-Y coordinator. Write a program to let your client set any three points to define a triangle on the X-Y plane and determine:- 1. what type of triangle formed by client’s …

Member Avatar for Bench
0
230
Member Avatar for Sturm

I am writing a small shell script for windows just for fun and was wondering how to open executable programs? Can c++ do this?

Member Avatar for John A
0
114
Member Avatar for sTorM

Hello all , I am just new to programming! I want to store the total number(deck[i].value) of several players evth having loop(players depend on user how many want).I tried many ways for that like vector and array.I dont know why I couldnt!Another thing,if user wants more cards,I want to give …

Member Avatar for Lerner
0
121
Member Avatar for himanjim

Hi Friends, I want to display a bitmap image in my C++ program running on Turbo C++ 3.0 (16 bit compiler)... I'm doing a project on graphic calculator.....My code is nearly complete but I am not able to display a bitmap image......I have got a code [url]http://www.brackeen.com/home/vga/source/djgpp20/bitmap.c.html[/url] But that doesn't …

Member Avatar for himanjim
0
302
Member Avatar for Elfshadow

Should I use the codeblocks IDE with MinGW or Dev C++ IDE with MinGW??? I'm only a beginner C++ programmer and I don't like VC++ express because of installing the platform SDK:eek:

Member Avatar for micdareall
0
105

The End.