132,726 Archived Topics
Remove Filter ![]() | |
i tried to run this program but it comes up with the windows 6th grade algebra quiz has encuontered a problem and has to close message can anyone help? here is the code: [CODE]#include <fstream> #include <cstdlib> #include <iostream> #include <stdlib.h> #include <time.h> #include <string> #include <conio.h> using namespace std; … Software Development c++ | |
Hey there i am just starting programming in vb and what i need is 1. to be able to print what day it is monday, tuesday, wed.. etc in a text box just the code for this is what i need. 2. want to have the time in another box … Software Development visual-basic | |
Hi, Using visual basic how I can simulate circuits and TCP packets in different proportions i.e circuits and TCP packets in different rates? Any idea or suggestions Thanks, Software Development visual-basic | |
I wish to if someone types something in a textbox that it shows up in a label..but on another form...so say in the textbox i type in "Sharpy" then "Sharpy" shows up on another form. Software Development visual-basic | |
Im trying to make a basic web browser with VB6, here is what i have: [CODE] Private Sub cmdback_Click() On Error Resume Next WebBrowser1.GoBack End Sub Private Sub cmdForward_Click() On Error Resume Next WebBrowser1.GoForward End Sub Private Sub cmdgo_Click() WebBrowser1.Navigate (txturl.Text) End Sub Private Sub cmdRefresh_Click() On Error Resume Next … Software Development visual-basic web-browser | |
hi all im writing a function for rectangle where it takes a rectangle and return a rectangle (same top-left vertex) but reduces the width and height by a,b respectively..... i have done this [CODE]public int shrink(int a, int b) { return (this.width -= a)&&(this.height -= b); } [/CODE] but i … Software Development java | |
how to create inventory system using VB.i want coding also for that would u plz explain me.at the ealiest Software Development visual-basic | |
Ok I have a list box and a label...I wish to do the following. I want to click on a object in the list box and I want information from a .txt file to show up in the label, I need different information for each object in the list box … Software Development visual-basic | |
Please help me. I'm trying to download java and I keep getting a message that says "Error 1311 source file not found. C:\Documents and Settings\owner\local settings\content. IE5\kxabstqz\ja150000[1].cab". I have no clue what it means and when I called gateway they told me that the instructions to fix it would be … Software Development java | |
Is there a way to get the day of the week when supplied with a date? usign the date() function ie how do i find out what day of the week it is e.g. Monday, Tuesday, Wednesday, Thursday, etc ? Software Development visual-basic | |
How can I fine a name in a table and compare it? If the name is in the table, continue with FORWARD. Else, then write information to a different table. Approver is a name in the record that is doing the work. I wanted to see if this person is … Software Development visual-basic | |
[Somehow I posted this Friday in the VB456 forum...sheesh, you'd think after 15 years of foruming, I'd do better than THAT... well, let's try again here.] I confess that I'm very very rusty with this. Years ago I programmed a QB45 app for a client, and have never done anything … Software Development | |
hi ive just found this forum site and thought maybe just maybe someone may help me. here goes im trying to create a card came in vb and in doing this i am wanting to have random statements in my game i have done the random statements and they are … Software Development image visual-basic | |
how can i put the text i added to database to the combo menu i have in another form?! :confused: Software Development visual-basic | |
Hi, I get a segfault when I try to instantiate a class I wrote. I don't know what the problem is here. The constructor is never entered. Details: [code] /* Connection.h: */ class Stream { private: ACE_Message_Queue<CONNECTION_SYNCH> *serverq; Provider *provider; ACE_Event_Handler *serverp; public: Stream(ACE_Message_Queue<CONNECTION_SYNCH>*, Provider*, ACE_Event_Handler*); ULONG send(char*, size_t); ULONG … Software Development c | |
I keep getting a core dump (bus error) on my program. I suspect it has something to do with the amount of data I am storing in a map<string,string> The program crashes however when it is done processing and is actually destructing. Before I post any code, I was wondering … Software Development c first-post | |
I have a strange number input problem. I am scanning in numbers from a file, like so: [CODE] While(bla){ double temp; minmaxFS >> temp; //do crap } [/CODE] And it works fine until it reaches a number like: 8e-05 (A non-decimal exponential number). Then, it just hangs up and scans … Software Development c++ | |
![]() | |
i'm new to c++, i was wondering if somebody could clarify something for me about encapsulation, for example if you have 2 classes [code]class Music { private: int a; public: int b(); int C(); }; class Record: public Music { private: char c; int a; float b(); protected: int d(); … Software Development c++ | |
hi I have a problem with this source code [code] #fi, fo = os.popen2('c:/python24/python.exe C:/AppServ/webserver/www/index.pyw') #fi, fo = os.popen2('c:/Perl/bin/perl.exe C:/AppServ/webserver/www/wwwp.pl') fi, fo = os.popen2('c:/appserv/php/php.exe C:/AppServ/webserver/www/wphp.php') data = self.rfile.read(nbytes) fi.write(data) fi.close() shutil.copyfileobj(fo, self.wfile) sts = fo.close() [/code] when I try with python or perl it works but with php not. first … | |
hi all, im trying to find out how i can move a file to another location in c++. Is there any kind of function or way i could do this. Ive seen before someone using the system() function to use command prompt style commands like system("cmd,command"); or something like that … Software Development c++ | |
hi :) i have problem with opening ".py" files in my web server this is the source code: [code] import string,cgi,time from os import curdir, sep from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer class MyHandler(BaseHTTPRequestHandler): def do_GET(self): try: if self.path.endswith(".html"): f = open(curdir + sep + self.path) #self.path /index.html self.send_response(200) self.send_header('Content-type', 'text/html') … Software Development first-post open-source python web-server | |
Hi i have c++ as a class and decided to do a tic-tac-toe for fun at home. Um I've only been in it for a week. anyways here is the coding so far: [CODE] #include <iostream.h> #include <string.h> #include <math.h> #include <iomanip.h> #include <conio.h> #include <stdio.h> main() { char a1='-'; … Software Development c++ | |
hi im using MS access database to keep my data and using visual studio .net 2003 to design forms... i want to know how to retrieve data from access to my forms in visual studio .net.. what codes must i write in visual studio .net or must i use some … Software Development database-design visual-studio | |
Hello... Any idea how to write this in C++ code.... A parking garage chages a $2.00 minimum fee to park up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour … Software Development c++ | |
Hello, I've just read thread why I should lear python and I must admit that I'm very interestwed to learn oppython myself. i have experience with C and C++ programming language. If I understood corectly Python is an interpreted language. What is advantage of interepreted languages (if there are any)? … | |
Hi, I am struggling with c++ linking problem in Linux... The C++ code has MATLAB engine inside, and it has no problem when compiling under Windows(same MATLAB version, MATLAB 6.5R13), but it can not be compiled with Linux, I always get the following error: [code]/usr/bin/ld: warning: libstdc++-libc6.1-2.so.3, needed by /s2bin/matlabR13/bin/glnx86/libmx.so, … | |
Tell me how to use FindNextFile() in console Software Development c | |
Hi I have created an array of random numbers but I need to stop duplicate numbers being added to the array so I have added the boolean 'fresh'. however, I somehow need to tell my 'fresh' to only check the number of elements added to the array so far and … Software Development java | |
I am trying to iterate through a hashtable that i have populated with objects using the repeater control. For each iteration i wish to output the values of properties of the objects I am populating the hashtable with. For example: - [code] Class SomeClass { public String myProperty1 public String … Software Development asp | |
i need code that will allow me to restart shutdown or logoof the computer (saftley) Software Development | |
Hello there I'm a new member of this board. Can anyone explain me on some example what callback functions really do? I found one tutorial about function pointers where concept of callback function is introduced but I didn't find it suitable for understanding. Can anyone exaplain it in simple terms … Software Development c++ | |
Sorry but i have alot of questions for you u guyes seem to be helpfull and friendly so i said why not let sort every question i got : If someone is using Sharp develop can you tell me how to put ActiveX in in it?How to close 2 form,and … Software Development api client-server web-server windows-api windows-server | |
[FONT=Fixedsys]Hi it's me again, I want to know how to make a new directory containing my python script. Also, how do I make the new directory containing my python script into the current directory? Just for you to know, I installed the newest version of Python which is Python 2.4.1 … Software Development python windows-xp | |
Hi can anybody help me with this program? Thanks Write a program that reads a file with a record containing a user id number (SSN), a course number (2 letters and 3 numbers, e.g. IT303), a letter grade, and the number of credit hours. Using a case statement, determine the … | |
If I have two templates that are mutually dependent, is there a way to declare one without defining it? Software Development c | |
What I want to do is pass a function to a function. The function that is to receive a function is a recursive function. It is to call the passed function. I have a short (one page) example of this in my book but that is it and I can't … Software Development c++ | |
hi could anyone please tell me in detail about the parameters to the main function argc and argv.please let me know as much as possible. Software Development c | |
hi i need to make a homework helper for 3 equasions 3 unknowns that will ask me what the equasions are and calculate what the unknowns are i thoght i would ask what the first char was a number or a letter and if it was a number it would … Software Development c++ | |
hi guys i really need your help about my project.... my project goes like this.......CREATE A C PROGRAM THAT WILL ILLUSTRATES CPU SCHEDULING ALGORITHM TECHNIQUES IN GRAPHICS AND PULL DOWN MENU MODE.... IM hoping for your reply soon... thank you in advance....God bless you all.... :cool: | |
Hey I'm a new member here. I just need some help. I need help with setting the path for python. I must set a path in Windows to the directory where the Python.exe is located so that I can execute Python script. I need to get the directory containing the … Software Development python | |
hi guys and gals, just a young padawan learner trying to write this poker program from scratch. i know their are programs out their but nothing like the one you write your self. Im trying to have my program read in the number of players from the keyboard input. I … Software Development c | |
Hi, I got a program and I am finished except for the last portion of the program. It is where I print the final seating chart. Can you help? Here is my code: [code]#include <iostream> using namespace std; const int NUMROWS = 7; const int NUMSEATS = 4; void initPlane(char … Software Development c++ | |
How do i convert value back to const char [code] #include <stdio.h> #include <iostream> using namespace std; int main() { int i, value; const char text[] = "456"; for (i = 0, value = 0; text [i] != '\0'; ++i) { int digit = text [i] - '0'; value = … Software Development c | |
When I mix managed with unmanaged code I get the compiler error: "'IDataObject' : ambiguous symbol". How do I resolve this? Thanks. Software Development c | |
Hello I'm trying to test out a random number generator to see how the distribution is and I want to write the values I get from the number generator to a file. Can someone show me in a simple code how to do that, or a good website where I … Software Development c | |
I am trying to send and recieve data by using rs232 port.For this i hav even written a program in C language using _bios_serial com,but the problem i am facing is that this command is unable to send the data. Just for testing the port i hav shorted pins 2&3 … | |
alright say i have a data file i want to open up and extract the data into a binary tree... i do this to open the file: [CODE]binaryTree::information() { ifstream file; file.open ("proj4.dat"); }[/CODE] although ill have more in that after i learn how to do it.. and i have … Software Development c++ file-system |
The End.