49,757 Topics

Member Avatar for
Member Avatar for hellsae69

Can anybody help me on how to search a keyword in my text file. I read about eliza420 Thread but still don't get it. If i have a text file named. "animals.txt" with a content of, ------------------------------------------------------------------- Fish Pig Dog Goat Bird ------------------------------------------------------------------- and in my c++ program a question …

Member Avatar for thekashyap
0
78
Member Avatar for grunge man

im wondering if there is a plain [COLOR="Blue"]do loop [/COLOR]instead of do while?

Member Avatar for grunge man
0
94
Member Avatar for toadzky

I am writing a program to batch rename files. I have a dialog box that gets the folder path from the user. I want to pass that back to the parent window. I need to know how to link the 2 windows and get the text from the dialog box. …

Member Avatar for thekashyap
0
94
Member Avatar for guy40az

I have only been playing with visual c++ for a couple of weeks now and was just wondering what is the advantage of using pointers. To me that seems to be the hardest thing to understand so far. I am not sure how to use them and what the advantages …

Member Avatar for Lerner
0
118
Member Avatar for hgseric

How do I display a graphic waveform on BTHQ 128064AVC-SMN-06-LEDwhite-COG? Any sample code?

Member Avatar for hgseric
0
148
Member Avatar for grunge man

i have a list of words to put into an array but how do i do this the order goes from 0 to 9 so black is zero [black][brown][red][orange][yellow][green][blue][purple][grey][white]

Member Avatar for grunge man
0
261
Member Avatar for countrygirl1970

This is what I have and having some problems with the checkPosn function. can anyone help me out. When I run the program and pick the posn it runs "posn already taken, please choose another. What I am doing wrong? Melissa [CODE]#include <iostream> using namespace std; class ticTac { private: …

Member Avatar for John A
0
110
Member Avatar for RisTar

Hi guys, when ive used Turbo c compiler and i wanted to put the program ona "wait key" status until the user hit sum key , ive used getch(); . when i try to use this command in Visual C++ 6.0 im getting an error.. Is there a diffrent command …

Member Avatar for Aia
0
102
Member Avatar for guy40az

I have not done any c++ programming yet but was wondering how you use arrays in a for loop for example the code below int i; double D_Nath(11),D(11),er(11); for( i=0;i < 11; i++) { D_Nath(i)=PI*D(i)/er(1)*.76554; } how dod you get this to work correctly. Thanks for any help with this.

Member Avatar for guy40az
0
92
Member Avatar for Mac.Z

Hello, How to read an input(string) from the user keyboard without displaying it on the I/S, but to disply a character that I specify like (*) instead of the actual inputted character.. and if possible to store the entry on array right now, I can't find any replacement for getch() …

Member Avatar for iamthwee
0
278
Member Avatar for sakura_fujin

hello! I badly need to submit this program within an hour from now so any help out there who could help debug my code, i would really appreciate it. there's something wrong with my qsort() syntax but i can't figure out what . spent 5 hours trying every possible ways …

Member Avatar for vijayan121
0
169
Member Avatar for u_r_m_i

Hi I m Fresher. I m working on Windows Mobile 5.0 And Doing Project in Microsoft visual Studio .Net 2005 using VC++/ SDK 2003. I m working on Proect " Task Manager for Windows Mobile 5.0 " Its something like Task Manager available for our PCs. we r making it …

Member Avatar for Ancient Dragon
0
87
Member Avatar for ongxizhe

Sorry to embarass myself here. Does anyone knows how to use C or C++ or Java Programming, or any other language for programming for novices? I'm a REALLY beginner. Anyone that is Professional in Programming and willing to teach please kindly teach me the BASIC of programming and the language, …

Member Avatar for ongxizhe
0
115
Member Avatar for MattTobin

hello again, I've run into a problem in overloading << and >>. Within the definition when compiling its saying that 'real' and 'imaginary' are undeclared, these errors are in lines 45(real), 46(imaginary) and 57(both). Whats wrong here? And if you could please let me know how to correct this. Heres …

Member Avatar for MattTobin
1
71
Member Avatar for Navrex

Hey every1...........i need to know dat which of the library is used in VC++ for graphics interpretrion... Can any one help me......????????????????????????????????????????????/:rolleyes:

Member Avatar for Navrex
0
173
Member Avatar for n.aggel

hi, i have this simple code, that compiles on visual studio 2005.When i try to run the executable through visual studio {pressign ctrl+F5} it does nothing{although the test.txt has size of 1kb}, when i run the exe through the command prompt the program works fine... Does anyone know why this …

Member Avatar for WaltP
0
88
Member Avatar for aminura

Hi.. I have to make a program in c++ for plotting a sine curve..using arrays ..in horizontal direction not vertical .. can I have an alogarithm or just a hint how to go on making ...thanks :)

Member Avatar for WaltP
-1
3K
Member Avatar for mrjoli021

This code is supposed to sort the numbers I input. I get only 0's [code=c] // Group Project 10.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <vector> using namespace std; void selectionSort (vector< int> list, int length); void fillArray(vector< int> list, int …

Member Avatar for mrjoli021
0
95
Member Avatar for Rickenbacker360

Hey, it's been quite awhile since I last posted, but I'm stuck. What I'm supposed to do is look at this code and tell what would appear on the output screen. I ran the program and found that it should display: 2 3 6 1 5 0. However, I just …

Member Avatar for Rickenbacker360
0
119
Member Avatar for mastern200

I need to create a program where it asks the user where is a text file. The file will open and it will be a list of names. The names should be stored in a vector after being read by the program.The program then will call a function named print …

Member Avatar for Ancient Dragon
0
151
Member Avatar for Slavrix

i thoguht i had this working and someones done something and its now no longer working, i couldnt workout what was changed. [code=cplusplus] #include <iostream> using namespace std; int main () { Double annSal, mthSal, nAnnSal, nMthSal, pcent, numBkPyMths, bkPy; pcent = 0.065; numBkPyMths = 5; annSal = 0; nAnnSal …

Member Avatar for Slavrix
0
103
Member Avatar for tjay

hello to all , my name is Talal. i have no background in C++. i work in a company as marketing representative. i got a program which was made in C++ by a programmer. and i lost the sources codes file from my PC. now i have to give that …

Member Avatar for ~s.o.s~
0
179
Member Avatar for virus.exe

I was wondering if it possbile to C++ creat a croaahair, or a dot in the center of my screen. The dot would have to run on top of all the windows I open. lol my friend wanted me to make him a crosshair for counter-strike. thx guys, if this …

Member Avatar for ~s.o.s~
0
111
Member Avatar for ice_tea_lemon

Hey all. I've been recently trying to write down a program that lets 2 players play tic-tac-toe (aka X/O) but I wanna code it using Bloodshed C++. Thing is, I wanna do it something like this. ---- > Display the gameboard like this. 1 2 3 4 5 6 7 …

Member Avatar for John A
0
125
Member Avatar for tjay

[B][U][COLOR=#000000]CURRENT SYSTEM[/COLOR][/U][/B] [COLOR=#000000][/COLOR] [COLOR=#000000]The name of the company that I am discussing about its system is <company name snipped> All the system running in various departments are computerized except that of the Front Office which needs to do some revamping in its system. Everyday the counter will handle the checking …

Member Avatar for Aia
0
147
Member Avatar for ericelysia

I am trying to read file input into an array so I can tally up the number of times each letter appears (including the apostrophe). I am not sure what I am doing wrong, but my file data is not getting assigned to the array outside the function. [code] #include<iostream> …

Member Avatar for vijayan121
0
133
Member Avatar for jigoro

hi everyone im wondering how will i connect a VC++ program with an SQL server. i would like the program to have direct access with the tables/data. if you can provide a sample source code would help. thanks.

Member Avatar for Ancient Dragon
0
65
Member Avatar for dabbakal

Hello, am a new member and this is my first posting. Having benefited from lot of posting i decided to join. But currently am trying to solve an exercise and it is proven difficult for me. I have written a program in c++ in linked list but am facing two …

Member Avatar for John A
0
913
Member Avatar for rugae

Ok, I new to this and haven't been taught exception handling yet but I would like my program to run without crashing when someone mashes the keyboard. I have declared an int x, and I don't want my program to crash when user inputs an char or more than 10 …

Member Avatar for John A
0
141
Member Avatar for virus.exe

Hi, this is not a HUGE problem but I was jw why at the end off all my codes I have to type, system("pause");. When I even do the Hello World! program thing the black screen just flashes. I was jw why no one elses codes have this. Its not …

Member Avatar for WaltP
0
2K

The End.