64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ongxizhe

I have two questions to ask. Firstly, I would lke to know is C++ GUI the same as C++.NET or there isn't such thing as C++.NET? Secondly, although you won't suggest me to learn C++.NET and you would ask me to learn C#, but I'm will still be asking for …

Member Avatar for ongxizhe
0
163
Member Avatar for EnderX

I've been working on a program designed to allow the end user to offer data corrections back to my company. (That is, they send us the originals, we process those and store it in a database, and this program is supposed to allow them to search the DB and send …

Member Avatar for EnderX
0
168
Member Avatar for aparnesh

I am using some common Javascript functions I wrote that are required in several pages. I would prefer to have the functions in a single .js file and link to this file from the required web pages. How do I link to such a file ? I tried the same …

Member Avatar for aparnesh
0
196
Member Avatar for gexecuter

Hello, i have a question of assemble using the video mode, when i run the program why only half of the screen is painted?,the whole screen should be painted, any help would be welcome please. this is the code: org 100h mov ah, 00 ; video mov al, 03 int …

Member Avatar for gexecuter
0
109
Member Avatar for sweetleaf

well can any one help me with the internal representation of float and doubles ......i know tht they are stored using the IEEE 754 format so is that the reason why a double 0.7 is greater than a float 0.7 ?????

Member Avatar for sweetleaf
0
93
Member Avatar for lotsofsloths

Ok so here is my code for a practice homework at LiduidEmberS [CODE] #include <iostream> using namespace std; int main(void) { int a; int b; int c; int d; int radius; int volumeprism; volumeprism = b*c*d; int volumesphere = 1.3333333333333*3.1415926536*(radius^3); cout << "Welcome to the program!\n\n"; cout << "Do you …

Member Avatar for ndeniche
0
156
Member Avatar for Dsiembab

Good Morning, I'm trying to learn php, I was wondering if their is anyway I could practice the server side script on my windows xp home computer? I have a website that is on a linux server. I'm sure this has been asked many times, I tried looking, but could …

Member Avatar for Dsiembab
0
181
Member Avatar for Matt Tacular

I am trying to make a text version of risk, and I need to store the population, or army count, for each country. So the only way I could think to do that, as you'll see in my code, is by making a variable for each country, and then storing …

Member Avatar for ~s.o.s~
0
88
Member Avatar for dougy83

Hi everyone, I'm a newbie here, and have a newbie question. I'm trying to get a popup menu to show just above my system tray icon/notifyIcon. I'm using TrackPopupMenuEx to display the menu, loaded from my application. The problem is that menu is displayed as a really thin menu, so …

Member Avatar for dougy83
0
140
Member Avatar for sadaka

Hello, I'm a new programmer and wanted to create a simple windows application. I might be getting in a little over my head when writing the code below. All seems well when compiling the code without implementing classes. When I implemented the class AppEngine from a separate source file I …

Member Avatar for sadaka
0
166
Member Avatar for flavour_of_bru

Hi all, Can you please tell me how to read .csv files in C++/VC++?? I converted my excel files to .csv files in order to make reading easy. Need help regarding the code. Thanks Rishi.

Member Avatar for flavour_of_bru
0
136
Member Avatar for iamthwee

I was just wonderin if python was worth learning? I have an option for it in Kbuntu, and was wondering if it was worth learning. I'd say no personally, what do you think?

Member Avatar for Ene Uran
0
697
Member Avatar for Matt Tacular

I'm having some trouble with STL lists. What I want to do in my program is take the players initial and put it into an array at the spot that they got from when I divided up 20 numbers (0-19). Can anyone tell me why line 151 (in this post …

Member Avatar for Matt Tacular
0
102
Member Avatar for Matt Tacular

I'm wondering why it prints so many spaces when I only ask it to print one. Here's the code: [code=cplusplus]#include <iostream> #include <string> using namespace std; string ar[21] = " "; int main() { ar[3] = "M"; ar[4] = "n"; for(unsigned int i=0 ; i<20 ; i++) { cout << …

Member Avatar for ~s.o.s~
0
140
Member Avatar for ssimkhan

i need to enter commands in one line using delimiter "&" (ampersand) or ";" (semicolon),using one type of delimiter in a line. e.g "cat&cp&rm" or "cat;cp;rm". Both should not be used in one line e.g "cat;cp&rm", when this happens the system exits. I've tried the code below using Split method …

Member Avatar for ~s.o.s~
0
119
Member Avatar for meiyantao

Hi,sir,please look at this code. [code] #include <iostream> using namespace std; class A{ private: class B; public: int out(int x){ return outB(x)->a; } B * outB(int x); private: B* root; class B{ int a; B(int init_a) :a(init_a){} friend class A; }; }; A::B* A::outB(int x){ root = new B(x); return …

Member Avatar for meiyantao
0
181
Member Avatar for FoX_

Hi all; My question is which IDE do you recommend for editing Python codes on WindowsXP??? I've installed its interpreter(2.5) but I don't have any idea about the IDE.(except ActivePython) Thanks for your helps...

Member Avatar for NetByte
0
123
Member Avatar for Matt Tacular

I had a thread going not too long ago, and from that I was able to make a global vector that I can store class objects in. But now when I try to access it, it says "no match for 'operator[]' in 'jailHouse[0]' " Anyways, Here's the code, if you …

Member Avatar for Matt Tacular
0
132
Member Avatar for jaepi

Hello there, just a question, what do you think is the purpose of this flag to this block of code... [code=c++] void CDriveControl::Trace(bool bAt, char *lpszFormat, ...) { #ifdef _DEBUG va_list args; va_start(args, lpszFormat); printf(lpszFormat, args); if( bAt) { fflush( stdout); } va_end(args); #endif } [/code] I've been wondering, why …

Member Avatar for jaepi
0
201
Member Avatar for linux

A while ago I purchased an application called "RPG Maker XP" for a project that my friends wanted to help out with (they have NO programming knowledge at all). We have completed a game, but it is, you know, un-original. We need something to spice it up -- RGSS (Ruby …

Member Avatar for gamingfan1993
0
673
Member Avatar for Catssuck

I am trying to access an ftp server and read an XML file that I can then parse and write certain information to a database. I attempted to read the XML using Magpie but get an (HTTP Error: Invalid protocol "ftp") error when I attempt to connect to the server. …

Member Avatar for Catssuck
0
307
Member Avatar for Matt Tacular

How can I make a pointer to an array? So that I access the members of the array by using the pointer in a seperate function. I'm wondering because I have an array I have to access in functions other than the one it was defined in, but I need …

Member Avatar for Matt Tacular
0
332
Member Avatar for Fungus1487

well ive been doing some work with object oriented php and came across a question i couldnt answer. can you create a list i.e. similiar to a linkedlist in java or the like in php ?

Member Avatar for Fungus1487
0
107
Member Avatar for choudhuryshouvi

Hi all, I've a code in vb.net 2003 which prompts user while he/she tries to close the form by clicking the form's close button('X'). If answer is yes the form closes but if the answer is no it stays. Now I want to write the similar code in a C# …

Member Avatar for choudhuryshouvi
0
118
Member Avatar for dudegio

Hello everyone! I have a problem having loops in Php. The process is, it will take all the records in the database table through looping based on the date specified. For example the billing period is from February 01, 2007 to February 28, 2007. It will take all the records …

Member Avatar for dudegio
0
115
Member Avatar for alembic21

Hello All, Here are the instructions for the program I am trying to write: > Write a program that determines which 2, 3, and 4 digit #'s are equal to the sum of the cubes of their digits. > Ex. > if the original # is 234, determine if (2 …

Member Avatar for ndeniche
0
135
Member Avatar for fredzik

Hello wall, Is there any way to be rid of the red Tk in the upper left hand corner? I remember reading somewhere that you can replace it with another icon, but can you completely remove it, leaving nothing but a blank space? Or can one replace it with: [code=Python]root.title("Any …

Member Avatar for fredzik
1
137
Member Avatar for radskate360

Hi, Im a beginning C++ student and having a very tuff time, but I have been trying for a few hours, and wanted come to you guys with my questions. I have been working on this school project and have figured out every step but two. Can anyone please help …

Member Avatar for radskate360
0
117
Member Avatar for blazted

I have a binary tree and I am having problems with one function. It is my add function where I add another node to my tree. I use recursion to call it from within the function. I believe I am not using the correct syntax to call the node from …

Member Avatar for blazted
0
133
Member Avatar for ssimkhan

I'm trying to do an assignment to implement a unix shell and run commands using java. commands include read file, copy file, remove file and find substring in a file. I have managed to create the file and try out all commands individually but I've failed to run the threads. …

Member Avatar for Ezzaral
0
221
Member Avatar for katerinaaa

Hi, I would like to help me with a problem I have. I want to make a program that tokenize the text of an input file and create a new file with all the words (one word per line). Because in the input file there are numbers, html tags like …

Member Avatar for Ezzaral
0
172
Member Avatar for saurav

Hi All, I am getting the below error when i am trying to run my app. I am sun one app server.I have deployed my classes and jsp using the deply tool. org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for …

Member Avatar for saurav
0
250
Member Avatar for Micko

Hello guys, It's been a while since I last time posted in this forum. I have strange problem regarding matrix allocation. I was asked to write code that includes 2D array dynamic allocation. I write two version of matrix allocation. Here is in my opinio relevant part of the code: …

Member Avatar for Micko
0
155
Member Avatar for jaepi

Hello there. I have here a constructor of class CDriveControl and class CSPTIDriver.. [code=c++] class CSPTIDriver; class CDriveControl{ public: CDriveControl(); CDriveControl(const char* pPort); ...... ...... protected: char* m_pPort; CSPTIDriver* m_pSPTIDriver; bool m_bInitFlag; bool m_onlycomp; } [/code] It was defined outside the class. [code=c++] CDriveControl::CDriveControl(void) :m_pPort(NULL) //Object drive ,m_pSPTIDriver(NULL) //SPTI object …

Member Avatar for jaepi
0
305
Member Avatar for Matt Tacular

When using an STL list, how can I check if a certain variable happens to just be in there? Basically, given this already: [code]#include <iostream> #include <list> #include <iterator> using namespace std; list<int> integer_list;[/code] I need a way to code this in C++: [code]if(x is in integer_list){ do this }[/code]

Member Avatar for Matt Tacular
0
99
Member Avatar for Acidburn

Hello there, I've got some information which is stored in a class object, these objcts are transfered to an action in the format of a set. I'm trying to put the set into a bean into my JSP, however im not having much luck. The error is as follows: [quote]org.apache.jasper.JasperException: …

0
80
Member Avatar for Daco

hey everyone, im making a program that controls my cube using GCNRD. but shellexecute is being a tard to me the code should work like this: enter a value and the program starts gcnrd to poke the value i got that in these lines [code=cplusplus] string CButton; string CoButton; cout …

Member Avatar for Daco
0
153
Member Avatar for 4zlimit

I am trying to store information then retrieve it on my program. I know I have to use a class and a constructor. The problem is that my text doesn't have any good examples that I can view. I am truly lost. I am not sure 1. where to build …

Member Avatar for stultuske
0
218
Member Avatar for mnmustafa

Hiz well i m new in here n i m goin to have exam after 3 days :S i got stuckd in a question Q) Write a program to print the product of even numbers..... plz i m new with c langauge :S n i m having final exam jst …

Member Avatar for sweetleaf
0
134
Member Avatar for yilmazhuseyin

Hi! I was writing a calculator to practice my programming skills and I really cannot solve a problem with an abstract class [code=C#] //base class for all tokens public abstract class BaseToken { public override string ToString() { return tokenValue; } } //base class for all operators public abstract class …

Member Avatar for yilmazhuseyin
0
127
Member Avatar for nedwards

I was wondering by using the Visual Studios 2005 and Windows XP could you write code in C# and add some other code in C++? What is happening is that I am updating this program that was previously made in C# and I need to add some security functionality, although …

Member Avatar for nedwards
0
140
Member Avatar for 4zlimit

I have been trying for two days to figure out how to use a loop in my program. It is the ever dreaded payroll program. I can't seem to get the program to start over once the program goes through each question. Can anyone point me in the right direction …

Member Avatar for 4zlimit
0
146
Member Avatar for Racoon200

Hi. Iam making a calculator with javascript. I want it to have a textarea(content id) and a textbox for results to be displayed (display id) [code] function calculate() { var contentBox = document.getElementById('content'); var displayScreen = document.getElementById('display'); // sorry that's all i have } [/code] Thanks

Member Avatar for MidiMagic
0
183
Member Avatar for sonu1

[COLOR=red]Hi frins[/COLOR]...i have done file uploading on client side but can any one just help me out with [COLOR=red]uploading file on server side[/COLOR]......[COLOR=red]Please [/COLOR]my deadline for project submission is approaching....I dont want it done using applet.

Member Avatar for jwenting
0
288
Member Avatar for devesh9392

#!/perl/bin/perl -w print "Content-type: text/html\n\n"; use WWW::Mechanize; my $mech = WWW::Mechanize->new( ); $mech->agent_alias("Windows Mozilla"); use LWP::Simple; use HTML::TableContentParser; $mech->get("http://google.com/"); my $filename = "admin.htm"; [COLOR=red]print $mech->content;[/COLOR] print "done..............."; [I]$mech->save_content($filename); [/I] die "cud not save ",$mech->response->status_line unless $mech->success; print "done..............."; here is part of my perl script. the problem is, i am …

Member Avatar for devesh9392
0
698
Member Avatar for cguan_77

[B]Hi,[/B] [B]Can anyone help me, how to determine selected control from an array of listbox? Anyhelp is greatly appreciated. Thanks.[/B] [B]cguan[/B]

Member Avatar for cguan_77
0
105
Member Avatar for machine

Hi, Trying to overload - and getting this error. I am not sure why.. error C2447: missing function header (old-style formal list?) [code] #include<iostream.h> #include<string> #include<new> #include<ctime> using namespace std; class D { public: D operator- (const D &d2); }; D D::operator- (const D &d2); { //error points to here!! …

Member Avatar for machine
0
250
Member Avatar for Pro2000

Hello everybody, I need a code shows who is online...Explain??,OK: I wrote a chat program & I need to know who is logged on... Example: In this web-site you can see If I am logged on because If I'm logged on the picture beside me will be green... how to …

Member Avatar for Puckdropper
0
88
Member Avatar for choudhuryshouvi

Hi, there, all fellow programmers I need a help on this. I have a code in vb6. It acts when a click action is made on 'X' on form1. Here is the code :- private sub form1_unload(cancel as integer) dim confirm as integer confirm=msgbox("Sure to exit ?",vbyesno+vbquestion,"Confirm Exit") if confirm=vbyes …

Member Avatar for choudhuryshouvi
0
90
Member Avatar for 65dos

Hello I have a several problems with using tkinter, if anybody can help, it would be great :D I'm using a .grid method on my widgets. When I put sth (e.g.Label) in for example row=5, and want to put something different (label with other text)in row=5 it overlap one another …

Member Avatar for vegaseat
0
131

The End.