Posts
 
Reputation
Joined
Last Seen
Ranked #610
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
77% Quality Score
Upvotes Received
13
Posts with Upvotes
13
Upvoting Members
7
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
9 Commented Posts
0 Endorsements
Ranked #271
~118.68K People Reached
Interests
1. Fishing. 2. Programming..
PC Specs
My old AMD 64 3200+, 2gb of RAM, NVIDIA GForce 9400GT with 1gb of Video Memory,...
Favorite Forums
Favorite Tags
Member Avatar for spiriad

Hi, I am trying to make small game , but I am confronting with a problem. I have a function that should add a new button to my form when it's called. The problem is that I don't know how to create a new object (a button, a shape or …

Member Avatar for Itamir
1
3K
Member Avatar for smurfy

Hii , Data reader reads table rows into the 2d array. The array fills with the last row of the table. How many loops are there?. Why :?: [CODE] Input Table : ----------------------- id red green blue 1101 12 11 13 1102 12 12 14 1103 13 14 13 ------------------------ …

Member Avatar for smurfy
0
110
Member Avatar for mybluehair

I got a snippet off the web of how to download a file from online in c++ console with the curl library. so I installed curl, and copied the code snippet, but it doesnt work. Can someone show me whats wrong? [code]#include <curl/curl.h> #include <cstdio> // link with libcurl. eg. …

Member Avatar for shankhaa
0
1K
Member Avatar for dnk

Hi All.. I want to get selected item on listview. Does any one know how to solve this??? I'm using vb.net 2003

Member Avatar for dnk
0
309
Member Avatar for waldchr

Hi I am writing a 2D game that only uses the arrow keys for input. I have done a search on this site fro ways to get input from the arrow keys and have come up with many solutions. However all of them use the getch() function. Normally this would …

Member Avatar for Cosmin871
0
628
Member Avatar for radmaker3

I just started using MS Visual C++ express to brush up on C\C++ I wrote one little sample program and it ran successfully, then every time after that i kept getting this debug assertion failed error that killed my program. Here's my code. #include <iostream> using std::cout; using std::cin; int …

Member Avatar for shijobaby
0
346
Member Avatar for rkckjk

I have the following code in which it supposed to remove rows that have the first column checkboxes checked, but it only removes one row at a time. If you have more than one checkbox checked, you have to click the command button each time to remove the row. It …

Member Avatar for MegaSofijanov
0
3K
Member Avatar for Bijaya123

I have a login form(Form1). Which has two text box(textBox1,textBox). when i clicked the Login Button another new form(Form2) is opened.This new form is a MDIPARENT form. I want to set the text of a lable of a new child form of this parent form which is same as the …

Member Avatar for cikara21
0
56
Member Avatar for Natique

Ok I'm trying to make a GUI with multiple forms on Visual C++ 2005 Express Edition. And I was following a tutorial and made two forms. Form1 and Second. I want the Second form to open from Form1. So I included Second.h in form1 and then added this to the …

Member Avatar for peter_budo
0
238
Member Avatar for CodyOebel

So far no one has been able to tell me why this code is not working, or what I need to do to THIS code to make it work. Can someone simply show using MY code below where the problem is, and why it's not working properly? Problem: I am …

Member Avatar for n.cramp
0
2K
Member Avatar for Bhoot

I am dealing with multiple monitors in which i required to use EnumDisplayDevices() API. However, the linker gives me following error log (i am using VC++ 6.0) : [CODE]Linking... SourceCode.obj : error LNK2001: unresolved external symbol __imp__EnumDisplayDevicesA@16 Debug/AllianceProject.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.[/CODE] I tried …

Member Avatar for pdtx
0
332
Member Avatar for dhpatil1

Hi all I have a heap corruption problem in getting STL containers data through OCCI methods . For instance if i do an assignment of this type [code] while(rs->next() ) { SRecord r; '' struct object r.PDM_APPLICATION_NO= rs->getString(1); r.PDM_FIRST_NAME=rs->getString(2);; //Error Heap Corruption r.PDM_LAST_NAME= rs->getString(3); r.PDM_F_FIRST_NAME= rs->getString(4); }[/code] I use Visual …

Member Avatar for hnd1122
0
326
Member Avatar for mir_sheely

I am Making a STACK class which could hold a Binary Tree Nodes. I have defined a class Node. Then made a linkedlist classs. and finally the stack class. All are Template based. But during compilation it is giving me the following error. error: expected constructor, destructor, or type conversion …

Member Avatar for Fujur
0
3K
Member Avatar for arshad115

i have so many functions in my program,what i want to do is, i want to return back to the main() but in somewhere middle of it!. should i use goto statements? i tried 'em,it gave some error! if i should use goto then please explain how to,thanks

Member Avatar for Cokaric
0
6K
Member Avatar for jediahsan
Member Avatar for ahvicm

#include<stdio.h> #include<conio.h> main() { window(10,55,22,77); textbackground(RED); clrscr(); } is this correct?? i run it but it didn't display anything. my prof. have an example bout this he said that the #'s inside the parentheses are the sizes of the box, (x1,y1,x2,y2) x1 is the top line of the box, y1 …

Member Avatar for mahi oberoy
0
115
Member Avatar for Ultratermi

Hey :D I wanna make a small program which changes the Desktop Wallpaper. Ok ehm. I found many things but nothing is working! Maybe because of my os: Win 7 x64 Ok here is the code which should run when someone click on the button. [CODE=C++]SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,"C:\\wallpaper.bmp", SPIF_SENDCHANGE);[/CODE] Tried it …

Member Avatar for Ultratermi
0
1K
Member Avatar for CodyOebel

I got this to compile, but it's not popping my Dialog box. The tutorial from [url]www.winprog.org/tutorial[/url] didnt necessarily specify where my AboutDlgProc() is suppose to go ? I assumed it went above the Default but I am unsure... I'm trying to understand why it's not popping my Aboout Dialog when …

Member Avatar for CodyOebel
0
143
Member Avatar for Puddles

I am attempting to write a program that interfaces with Command prompt (simple, bring up a tasklist, user enters the program they want to get rid of, and then the computer does the rest), I already have been able to interface and bring up a tasklist, the code compiles with …

Member Avatar for Puddles
0
227
Member Avatar for tkud

Hey everyone, I'm having this problem with the aforementioned API. Here is the code to initialize the common controls i want to use..(commctrl.h is already included in my program) [CODE] INITCOMMONCONTROLSEX icex; icex.dwSize=sizeof(INITCOMMONCONTROLSEX); icex.dwICC=ICC_BAR_CLASSES; InitCommonControlsEx(&icex); [/CODE] However, when I try to build , it gives me this error: [I] 1>tkud.obj …

Member Avatar for tkud
0
3K
Member Avatar for f0rcegr0wn

Hi all, just to be sure. I have a C++ DLL in which I am implementing a bit of low-level functionality. To this library I wish to pass a managed System.String pointer (ref) so that the library can load the string with the new/returned value. The question is, do I …

Member Avatar for cikara21
0
175
Member Avatar for PDB1982

I am trying to find a way to find a median of individual parallel arrays, but I'm not sure how to start. One question I have, though....is an array the same as a list? I was told that it might be easier to do a bubble sort of a list, …

Member Avatar for PDB1982
0
121
Member Avatar for winson.thai

I am having major trouble with a fraction program. i spend hours fixing the errors and it still does not work. this link provides the instructions: [url]http://web.jjay.cuny.edu/~sbakiras/mat272/assignment3.pdf[/url] this is my code:[CODE] #ifndef RationalNumbers_H #define RationaNumbers_H class RationalNumbers { private: double numerator; double denominator; public: RationalNumbers(); RationalNumbers operator+(const RationalNumbers &); RationalNumbers …

Member Avatar for Agni
-1
378
Member Avatar for kudresov

I am tring to convert std:string to char* in several way, however non of these work: first way: [CODE] char* c_levelMapFile = new char[levelMapFile.length() + 1]; strcpy(c_levelMapFile, levelMapFile.c_str()); ifstream myfile(c_levelMapFile); myfile.is_open(); // returns false [/CODE] second way: [CODE] const char* c_levelMapFile = levelMapFile.append("\0"); ifstream myfile(c_levelMapFile); myfile.is_open(); // returns false [/CODE] …

Member Avatar for kudresov
0
968
Member Avatar for saldainis

hi guys, i'm new in c++ programming in this forum too, seen many helpful threads so far, but i just can't get over this one, something wrong with my return value , it says so "total" is undeclared identifier (line 46), but when i declare it in main function as …

Member Avatar for Nick Evan
0
147
Member Avatar for stefanief

[QUOTE]I have an assignment that requires me to use an array, menuList, of struct menuItemType with members string menuItem and double menuPrice. I have to display the menu, let the customer order, total the bill including tax and print the check. Function getData had to load the data into the …

Member Avatar for stefanief
0
216
Member Avatar for Excizted

Hello DaniWeb. ;) I have a problem with char->tchar conversion, that i cant seem to solve. I want to launch another program, anh the relative path to that program is fetched from MYSQL. [CODE] updateBox = CreateDialog(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_DIALOG2), hWnd, updateDiag); hThread = (HANDLE)_beginthreadex(NULL, 0, Blah::Start, NULL, NULL, NULL); [COLOR="red"]_stprintf(patcherLoc, _T("%s/Patcher …

Member Avatar for Excizted
0
232
Member Avatar for restrictment

Hey, I have been searching this for a while now, and I cannot find a c++ code that expands the window once opened. I have found multiple codes that claim it opens it in an expanded window, but in the end all I get is compiling errors. If someone would …

Member Avatar for SCoder1
0
163
Member Avatar for AceiferMaximus

I am getting an Illegal Indirection Error on this code, and I am not quite sure what I am doing wrong. [url]http://msdn.microsoft.com/en-us/library/aa376065(VS.85).aspx[/url] That link shows the function and what it should do. Am I on the right track? What do I have to do to fix the error. [CODE] #include …

Member Avatar for cikara21
0
318
Member Avatar for gkaykck

i tried to open another form from the solution when i clicked a button, but i cannot make it work, the errors are; [ICODE]Error 3 error C2061: syntax error : identifier 'ayarlar' c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211 Error 2 error C2065: 'ayar' : undeclared identifier c:\documents and settings\administrator\desktop\develop_dersane\etud\Form1.h 211 Error 4 …

Member Avatar for gkaykck
0
168