51,593 Topics

Member Avatar for
Member Avatar for freesoft_2000

Hi everyone, I would like to ask a question about visual c++. When i go to my projects folder i see the icon for the dialog is the mfc icon. No i am not talking about the icon on the right hand corner when the dialog is executed but the …

0
60
Member Avatar for Milan

Hi. How can I call common open dialog box in MS Visual C++ 6.0 ? I tried to use getOpenFileName() and CreateFile(). But my function doesn't work. There is tehe body: void FlashProgram::OnButtonPOpen() { // TODO: Add your control notification handler code here OPENFILENAME ofn; // common dialog box structure …

Member Avatar for freesoft_2000
0
250
Member Avatar for LuSiFeR

Hello, Can someone write few interesing problems for novice c++ programmer? Can't come up with any good ideas :( Thx in Advance :mrgreen:

Member Avatar for alc6379
0
151
Member Avatar for taimour

Hi i am new programer in c++ and want somebody to show me the first step, Thank you all :cheesy:

Member Avatar for Dave Sinkula
0
93
Member Avatar for policeachan

why do we use function definition in header file and function declaration in obj why can,t both be at header file?

Member Avatar for Dave Sinkula
0
139
Member Avatar for merlin208

[FONT=Arial]undefined[/FONT] I am newbie to C++ and am trying to teach myself to program. Could someone please explain in very simple language what data validation means and how should I check for it (in relation to input data) before any processing occurs. :-| Merlin208

Member Avatar for Chainsaw
0
147
Member Avatar for andremc

i'm trying to keep track of how many comparisons and swaps my sorting algorithms are making. i know it's probably a variable referencing problem, but i can't seem to get it to work right. it's fine when i run only one of the sorts, but if i run both, moves …

Member Avatar for andremc
0
1K
Member Avatar for Mr A

I need some help, heh, i have to store a twelve digit number somewhere... as i've understood it nothing like unsigned int or long double or anything won't work :-/ have i missed something? or can anyone point me to anything which i can use to be able to do …

Member Avatar for The Code Poet
0
231
Member Avatar for bigbiffa

i have the message c:windows/system32/autoexec.nt on screen when i try to unistall avg anti virus.It also says system file is not suitable for running ms-dos and microsoft windows applications...help!!!!! :(

Member Avatar for DMR
0
90
Member Avatar for Sukhbir

LOOK THE FOLLOWING STATEMENT int *p[](); PLS TELL ME THE MEANING OF THIS STATEMENT.& WHERE WE USE THIS STATEMENT.

Member Avatar for FireNet
0
83
Member Avatar for icono

I am novice, and I am working now in a proyect with the vga colour palette, over DOS with borland c 3.1. The project include cpp.h and asm files. Sintactically I checked that is ok, BUT when I do the link tell me DECLARATION SYNTAX ERROR , in the first …

Member Avatar for icono
0
255
Member Avatar for Tex_Tootell

Hi can I delete a ".cpp" file and start the project again ? and how do I do it? I am using Microsoft visual C++ .NET Thanks Tex..

Member Avatar for Tex_Tootell
0
95
Member Avatar for steelers_fan

Hello, everyone I am pretty much a new programmer programming a little in C++ and basic. I am having trouble with this portion of the program that I am working on. When I include line 16, cin >>FullTimePartTime; the program skips line 21, cin.getline(response,256); and does not let me enter …

Member Avatar for steelers_fan
1
208
Member Avatar for Tex_Tootell

I am new to programming and would like some help getting up and running. I am using the Microsoft Visual C++.NET 2003, Iam up to Object-Oriented Programming [Animals], and I have 4 errors I can't fathom out..... #1 C2143:syntax error? #2 C2501:'_cg' missing storage class? #3 C3265: cannot declare a …

Member Avatar for Tex_Tootell
0
170
Member Avatar for jamesk400

I recently discovered a problem with the version of Microsoft Visual C++ 6.0 Professional Edition (Windows 98) that I have on my computer. I open Microsoft Visual C++ 6.0 Professional Edition and there is no menu bar or title bar present. When I press the “alt

Member Avatar for jamesk400
0
146
Member Avatar for Dani

[b]O[/b][b]rganize Your Data[/b] Arrays allow programmers to store a series of data of the same type. For example, suppose a program is to keep track of twenty numbers. Such a set of numbers would be stored in an array of integers (whole numbers) or doubles or floats (decimals). Arrays work …

Member Avatar for paawam
0
570
Member Avatar for vivekgalatage

Hello Everyone can anyone please explain me about the concept of namespaces? Regards

Member Avatar for TITAN
0
200
Member Avatar for tahataha

that s what i learned since i saw in many examles programmers using a function main whithout any class asking for any explication please :confused:

Member Avatar for Chainsaw
0
176
Member Avatar for stv

I'm more or less a beginner programmer with a little (mostly useless) programming background. My goal is to develop applications to run on my PPC (a Dell Axim 3). My Background: Did some simple Basic programming on a TRS-80 in the late 70’s when they were the cutting edge(!), as …

0
90
Member Avatar for Kalitko

Can sombody advise me or show me a semple code how I can obtain 10 bit data information from device connected to my com1 port? Thank you very much in advance.

Member Avatar for Kalitko
0
168
Member Avatar for vivekgalatage

Hi everyone, can anybody know how to forward a RAW packet i.e. the buffer containing the ethernet header upto the TCP/UDP data using the send() and socket() system calls in C or C++ Regards, Vivek

0
102
Member Avatar for Trevor@Taran

I am trying to get the Microsoft Mappoint OCX working in C++ Builder 6.0 Pro. So far I can place pushpins and delete them but I cannot attach a name or note. When the compiler is in Debug mode the code will compile without any error but crashes when running …

Member Avatar for Trevor@Taran
0
119
Member Avatar for freesoft_2000

Hi everyone, i need some guidance or help if possible help with running a program in c++. I am currently using this statement to run any external program in c++. WinExec("C:\gui.exe", SW_SHOW); The above command compiles ok but the external program is not executed. There seems nothing wrong with my …

Member Avatar for Chainsaw
0
170
Member Avatar for a_68000

I need to finish my assignment but i seem to have several problem and i stuck. Below is the assignment question and also the source code that i wrote Question Write an interactive C++ program that will encode or decode a line of text. To encode a line of text, …

Member Avatar for Chainsaw
0
152
Member Avatar for SorCerer

I am looking for an arp sender written in c++ with no deps (no libpcap or libnet). I am working now at some raw sockets code, but i get all sort of errors in the sendto(), even with the IP_HDRINCL option set. The code is ok, it sends TCP and …

Member Avatar for SorCerer
1
1K
Member Avatar for tahataha

i just ve started with c++ but i ve an idea about c and oop i wanna learn more about graphic library in c++ i ask for any advice or help thanks

1
83
Member Avatar for Naveen

i have created 3 matrices: 1) Connection Mtrx 2) Metric Mtrx 3) Ans Mtrx. here from connection mtrx, seeing starting node,i update the ans mtrx which will hold the sequence of node traversal. how do i code to achieve this? the code problem is coming in function bf(). #include<iostream.h> #include<conio.h> …

Member Avatar for freesoft_2000
0
155
Member Avatar for smithag261

Can I get a list of C programmes so that I can see the solution of any program I want. Any website related to it? I have an interview next month on C.Please suggest.

Member Avatar for brnprasad630
1
97
Member Avatar for andremc

i'm trying to create a chained hash table using a linked list header file, but there's a problem with my insert function. here's the relevant portion. the error comes in the part that is in red. compiler says "parse error before '.' " i've used the linked list header before, …

Member Avatar for Chainsaw
0
157
Member Avatar for biel_andrada

Hi! I need help with the find function! I do not know how to use it in finding numbers. For instance: 1 1 1 1 2 3 4 4 5 5 6 6 6 7 7 7 7 Using the find function, it will count the number of times a …

Member Avatar for meabed
0
140
Member Avatar for Naveen

Hi guys. Check out this tut on the web. [url]http://guideme.itgo.com/atozofc/[/url] good help with programming in c and dos. its a free ebook with individual files for each chapter. around 70 files. too good to miss. hope u like it.

Member Avatar for FireNet
1
292
Member Avatar for heidi

this is some of my code, could you work out how i am suppose to do this? /*from main.cpp*/ student.read(cin); student.print(cout) << endl; ----------------------------- /*from student.cpp*/ const char * Student::getStudents() const{ string tmp; tmp = getStudentName(); tmp += ": "; tmp += getStudentID(); return (const char *) tmp.c_str(); } ostream& …

Member Avatar for basementcoder
0
115
Member Avatar for Maineboy

I am new to coding and I am trying to display a league table of football teams in a memo box using C++Builder. The code below prints a list of the team names from an array of 12 teams, but I cannot get the rest of the details i.e. games …

Member Avatar for Maineboy
0
203
Member Avatar for Msh84281

// This program will write the name, address, telephone number // and college major of the programmer. // Michael Hawkinberry #include <iostream> using namespace std; int main() { cout << " Michael Hawkinberry\n6393 Harlem-Grovetown Road, Harlem, Georgia, 30814\n(706) 556-3731\nComputer Science " << endl; return 0; } Is this program error …

Member Avatar for Dave Sinkula
0
275
Member Avatar for ellisrn

Hi, I'm trying to run this short code and when it prints out i get about 20 of these "pow: DOMAIN error" messages, and then my results. Can anyone shed any light on this. I'm not acutally a programer, but got thrust into this in a project for another class, …

Member Avatar for Dave Sinkula
0
2K
Member Avatar for bruseyboy

Hi Is it possible to write a c++ program that sets up a pointer at the start of an array on the heap, and the pointer holds the address of the start of the code. ie something like--- int *pointstart[5]; pointstart = new (codestart, 0,0,0.0); 1nt main() { codestart:; // …

0
104
Member Avatar for diablo

Can anyone tell me how to catch an exception thrown by dynamic_cast , typeid and new in C++ ?:sad:

Member Avatar for meabed
0
68
Member Avatar for crazybitez

Hi, I want to implement as search program which will be able to search through a given set of documents for a given string...I've heard that indexed searches are the best bet in these cases...(if anyone knows of something better i would appreciate it..)..now if i have a set of …

Member Avatar for meabed
0
167
Member Avatar for scarface_qwerty

i want to make a bouncing ball program with 10 ball. the problem is that every ball has his own delay. i'm stuck in here. :confused: if u know the solution please help me

Member Avatar for crazybitez
0
93
Member Avatar for lordofthisworld

i'm new to programming in c++ and have been confuzzled by this for two days: the following code was meant to create a new class ("character") and enter into it information entered by the user such as name etc. the problem is that whenever i enter something (at one of …

Member Avatar for diablo
0
155
Member Avatar for .·)Tusky(·.

I'm using the Window Console to create a excerice out of a book for beginers. First it's coded to ask for a number, then after you press the enter key it tells you the results, in about 2 seconds it just closes the Window Console. How can I prevent the …

Member Avatar for diablo
0
170
Member Avatar for PViper

Hi, I'm trying to write a program(beginner level) to read a text file line by line and compare each character with one in my code. So far I have read the lines from the file: #include <string> #include <iostream> #include <fstream> #include <vector> using namespace std; int main() { vector<string> …

Member Avatar for PViper
0
160
Member Avatar for Sukhbir

Look the following code: struct emp { CASE :1 struct emp p; //ERROR CASE :2 struct emp *k; //IT WILL WORK }; WHY IT IS WORKING IN CASE :2 and not in CASE :2. TELL me with explanation

Member Avatar for Chainsaw
0
179
Member Avatar for rahulr

:cheesy: hi i've just joined.i began c++ a month ago.i'm havin problems regarding a problem involving 2-d arrays.here it is print x x x x x x x x x

0
66
Member Avatar for sirflex

Hello Everyone, I am very new to C++ and have a program due this Wednesday. I would appreciate any help on this. I have written the pseudocode for the program but do not know if it is correct or how to write the actual code for it. ------------------------- The program …

0
73
Member Avatar for nesbel

Hello all: How can I capture events generated in an instance of TCppWebBrowser created at runtime? Another question: how can I know which TCppWebBrowser is the sender if I have more than one in my application. Thanks

0
74
Member Avatar for nirvedacharya

Hello there, I want to create my own Devanagari (the lingual script of India) keyboard program, to do this I want SOURCE CODE SAMPLE(S). can you help me for this work? (Please be sure I do not want any ready-made program available in market, because I want to create new …

Member Avatar for FireNet
0
59
Member Avatar for .·)Tusky(·.

I'm new to C++ and I'm studying out of a book (Game Programming - All In One, 2002) From what I've seen from other programs it's sort of out of date. Can someone tel me what's wrong with this? -Error C2734: 'Value' : const object must be initialized if not …

Member Avatar for FireNet
0
495
Member Avatar for Marilyn_Manson

Can someone explane to me how prefixs and postfixs are used and how they work. :o

Member Avatar for Dani
0
172
Member Avatar for .·)Tusky(·.

Hello Random People, I'm new to C++, and I have some questions for all you'all. The first subject I'd like to talk about is Unary Operators. They give me a sample problem in the book. (The book is was published about 2 years ago) Sample Problem: int Result, A, B; …

Member Avatar for .·)Tusky(·.
0
156

The End.