51,593 Topics
![]() | |
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 … | |
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 … | |
Hello, Can someone write few interesing problems for novice c++ programmer? Can't come up with any good ideas :( Thx in Advance :mrgreen: | |
Hi i am new programer in c++ and want somebody to show me the first step, Thank you all :cheesy: | |
why do we use function definition in header file and function declaration in obj why can,t both be at header file? | |
[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 | |
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 … | |
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 … | |
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!!!!! :( | |
LOOK THE FOLLOWING STATEMENT int *p[](); PLS TELL ME THE MEANING OF THIS STATEMENT.& WHERE WE USE THIS STATEMENT. | |
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 … | |
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.. | |
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 … | |
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 … | |
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 | |
[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 … | |
Hello Everyone can anyone please explain me about the concept of namespaces? Regards | |
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: | |
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 … | |
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. | |
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 | |
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 … | |
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 … | |
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, … | |
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 … | |
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 | |
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> … | |
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. | |
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, … | |
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 … | |
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. | |
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& … | |
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 … | |
// 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 … | |
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, … | |
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:; // … | |
Can anyone tell me how to catch an exception thrown by dynamic_cast , typeid and new in C++ ?:sad: | |
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 … | |
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 | |
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 … | |
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 … | |
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> … | |
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 | |
: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 | |
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 … | |
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 | |
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 … | |
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 … | |
Can someone explane to me how prefixs and postfixs are used and how they work. :o | |
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; … |
The End.