64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 ????? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
![]() | 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? |
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 … | |
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 << … | |
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 … | |
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 … | |
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... | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 ? | |
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# … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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: … | |
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 … | |
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] | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
[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. | |
#!/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 … | |
[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] | |
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!! … | |
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 … | |
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 … | |
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 … |
The End.