49,761 Topics

Member Avatar for
Member Avatar for jessejamesjjr

@ d moment, am doing sum reading up on "SWITCHES" and am not sure if am doing the code properly.. so i could share the problem and share my code with u guys.. i wood love to and if u can suggest any help i wwo greatly appreaciate it.... thanks …

Member Avatar for Ancient Dragon
0
80
Member Avatar for krishnampkkm

Hi In my application at reading time , writing is idle and viceversa. So I wanna to do it same time.I use Createfile(),ReadFile() and Writefile() in my application . I got details about [B]1. Overlapped IO.[/B] [B]2. Multi-threading[/B] Which method I've to use ? Which will give better performance ? …

Member Avatar for kvprajapati
0
106
Member Avatar for RiceFiend

Hello, I have the Fill, Show, Remove, and Find functions working properly, but I cannot get my WriteToFile function to work. I know that there is a problem involving WriteToFile("Success"); but I don't know how to fix it so that my void WriteToFile function will work. Any help would be …

Member Avatar for RiceFiend
0
255
Member Avatar for toader

Hello,i need assistance in completing the code, I do not have enough experience, anyone can complete it? it is at one point change 1 word in new and need to able to change more than words .. Thank you very much for the former. [CODE]#include <iostream> #include <fstream> #include <string> …

Member Avatar for Acis
0
183
Member Avatar for emildekeyser

Im a beginning C++ programmer and i was just trying out some of the awsome stuff that can be done with c++ and not VB(.NET, 2008). I actualy have 2 questions: First, y does this give me an empty console screen? Im not getting any error messages, my intend was …

Member Avatar for Ancient Dragon
0
95
Member Avatar for Creator07

These things are getting on my nerves. I am trying to do a test program in Win32 API which has "Browse for folder" and uses some string formatting. But, I am unable to. [B]Please help in this general problem:[/B] If I use strcpy() in Visual Studio 2008 to do some …

Member Avatar for Creator07
0
152
Member Avatar for amirun

Hey u people at daniweb trblsut ma prblm:i've trying to use mouse in c++(on a dos standard prog) but have failed. please help!!!(with a small demo code)

Member Avatar for Ancient Dragon
-1
58
Member Avatar for AlexRamallo

I've searched the web for hours trying to find how to delete a file from the registry but havent found anything. basically what I want to do is delete a file from a folder inside of the software folder of HKEY_CURRENT_USER for example HKEY_CURRENT_USER -> Software -> MyProgram -> MySettings …

Member Avatar for Ancient Dragon
0
224
Member Avatar for seao111

Hi i am looking for a way to redirect the output of an exe file that i call within _execl(). (by the way, am i using the _execl() function in the correct way?? ("ARP.exe -a" returns a list of ips connected to the computer over a local network) CODE so …

Member Avatar for Ancient Dragon
0
128
Member Avatar for Creator07

Hello, I am very new to Win32 Shell Programming. I am doing a simple project which needs me to select a folder from the hard-drive. The following is small parts of the program: 1 : This is the "Brows For folders" calling part. [CODE=cpp] case IDC_BROWSE: { char buf[MAX_PATH]; BrowseFolders(hDlg, …

Member Avatar for Creator07
0
163
Member Avatar for fuggles

I am learning how to make Windows in C++, and I have a problem: [code=c++] #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MessageBox(NULL, L"Hello World!", L"TEST", MB_ICONEXCLAMATION | MB_OK); return 0; } [/code] I get this error: [icode]Error 1 error C2664: 'MessageBoxA' : cannot …

Member Avatar for fuggles
0
88
Member Avatar for dharm93
Member Avatar for Interrupt

Hi Folks I’m just starting to learn C, I’ve downloaded VisualC++2008 Express. Can someone walk me through creating a std C application/project in VisulC++ 2008 Express or just point me to some literature on this topic Thanks

Member Avatar for athlon32
0
86
Member Avatar for athlon32

When printing output to a terminal in C++, should i use "\n", or "endl"??? Is one lighter, faster, or industry standard?

Member Avatar for athlon32
0
270
Member Avatar for himgar

I have Turbo C++ IDE 3.0 the one that has blue working environment. Problem that i face is that when i run any program it only shows the black screen for about 3 seconds without any output and then automatically closes. I can't check the output because of this. Please …

Member Avatar for siddhant3s
0
322
Member Avatar for Reedz

I have a problem with programming! I real like being a programmer but I have bad background! What can you help me on this? The question states: Create a program, allowing to display the graphs of functions, given tabular ( reading from file) and most simplest mathematical expressions. In process …

Member Avatar for tux4life
0
107
Member Avatar for mybluehair

I have a game That I would like to release the first version of soon. The game is written in c++, but I would like to add a feature to were before the game starts, it connects to the internet, and downloads a file from my webpage to check to …

Member Avatar for lexusdominus
0
157
Member Avatar for Lukezzz

I have tried to delare the List Incr outside the if-statment and then inside the if-statement I declare a new instance of the List but when doing this I get a compilerror that says: [I]left of '.Add' must have class/struct/union[/I] [code] List<int>^ Incr; if( textBox1->Text != "" ) { Incr …

Member Avatar for Lukezzz
0
81
Member Avatar for #tanvi

hi!! I am receiving a pulse signal on my serial port n i need to count the no. of com events the pulse causes in 10 sec. can someone please tell me the code to detect com event and I have to do it for dos not for windows thnx.

Member Avatar for athlon32
0
64
Member Avatar for Manikyr

Hi! My assignment is to write a program where you write in two sport teams, home teams and guest team and their reults. After the program will output information who won and if there were a tie. I tried to translate okay from Swedish! The program isn't working and there …

Member Avatar for kangarooblood
1
448
Member Avatar for kangarooblood

I'm quite new too C++ but finally my experience is good enough to actually create something, that's what I thought... So I triedto make this easy Tic Tac Toe Game and I think i got it all right but obviously not cause when I try to choose somewhere to put …

Member Avatar for Sky Diploma
0
225
Member Avatar for clutchkiller

So say I want to open a text document for reading using an instance of ifstream.open, etc.. etc... So once i open the txt file to read from it, what functions do i use to scan each character and put each character into an an array slot? Ive seen loops …

Member Avatar for siddhant3s
0
175
Member Avatar for tiger86

If I'm designing something like a game with characters that uses the mouse would I choose c or C++? Also is the mouse in windows written in c or C++? I would guess C++ but I could be wrong because I'm very new to the world of C languages and …

Member Avatar for vegaseat
0
203
Member Avatar for krishnampkkm

Hiii [B] How to use SHFileOperation() ?[/B] u have any direct link to it... thanking u..

Member Avatar for marco93
0
102
Member Avatar for Luigibosko

I just signed in to these forums and I'd be so happy if you guys could help me out with a triviality that I can't seem to get around. Now, although I haven't actually got around to programming anything really complex, I've been reading alot these last 2 months and …

Member Avatar for Luigibosko
1
235
Member Avatar for Chaosis

I am writing a program that needs to get pixels from a window, and search for a certain range of pixel colors. I have been using getPixel, but that method is too slow for even 800x600. Does anyone know a different method/s? The window uses Direct X, if that helps...

Member Avatar for Chaosis
0
209
Member Avatar for mossaied

I am using visual c++ version 6, I have compiled the systemC library, then creates a new project contains multiple files then I try to build it but the building failed due to an error called "error C2679" and this the error message: "d:\systemc-libraries\systemc-2.0\systemc-2.0\src\systemc\communication\sc_signal.h(234) : error C2679: binary '<<' : …

Member Avatar for VernonDozier
-1
293
Member Avatar for jaepi

Hello there! can anybody here point me to any GUI programming in Linux tutorials. Been googling around but no good hits. Thanks.

Member Avatar for CasTex
0
131
Member Avatar for Niner710

Hi, I am struggling with the best way to twiddle a large number of bits. What I have is a large amount of binary files(~100) in my directory that I need to do post processing on. I want to compare all the bytes in each file and see when the …

0
46
Member Avatar for kolosick.m188

How do you close a QTabWidget? I have the code but when I click on the close button nothing happens.

Member Avatar for kolosick.m188
0
258

The End.