132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 3265002918

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++
Member Avatar for 3265002918
0
345
Member Avatar for namit

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
Member Avatar for namit
0
124
Member Avatar for smurtaza

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
Member Avatar for jwshepherd
0
96
Member Avatar for Sharpy

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
Member Avatar for jwshepherd
0
173
Member Avatar for Drakey

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
Member Avatar for jwshepherd
0
424
Member Avatar for sam1

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
Member Avatar for alpha_foobar
0
142
Member Avatar for sowmiya

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
Member Avatar for jwshepherd
0
147
Member Avatar for Sharpy

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
Member Avatar for jwshepherd
0
206
Member Avatar for smmuols83

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
Member Avatar for server_crash
0
152
Member Avatar for pmccray
Member Avatar for jwshepherd
0
1K
Member Avatar for namit

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
Member Avatar for jwshepherd
0
113
Member Avatar for dreyes67

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
Member Avatar for jwshepherd
0
142
Member Avatar for debronkart

[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
Member Avatar for debronkart
0
94
Member Avatar for d0uga1

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
Member Avatar for jwshepherd
0
113
Member Avatar for artint3

how can i put the text i added to database to the combo menu i have in another form?! :confused:

Software Development visual-basic
Member Avatar for jwshepherd
0
100
Member Avatar for levk

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
Member Avatar for levk
0
174
Member Avatar for winbatch

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
Member Avatar for winbatch
0
143
Member Avatar for Analogsleeper

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++
Member Avatar for Dave Sinkula
0
244
Member Avatar for iamthwee

hello everoyne, I am nu 2 this so pleaz b kind. I need 2 make a program which does the factorial. But i not no how to do this. It is urgent so if you could help me i would be greatfull. God bless. i have this so far. [code]#include<iostream.h> …

Software Development c++
Member Avatar for bops
0
387
Member Avatar for mostuniquename

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++
Member Avatar for Daishi
0
111
Member Avatar for peaceofmind

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 …

Software Development apache perl python
Member Avatar for vegaseat
0
179
Member Avatar for bops

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++
Member Avatar for bops
0
291
Member Avatar for peaceofmind

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
Member Avatar for peaceofmind
0
519
Member Avatar for cjm771

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++
Member Avatar for Rashakil Fol
0
246
Member Avatar for c#dummie

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
Member Avatar for c#dummie
0
155
Member Avatar for bryj3

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++
Member Avatar for Twin6g72Turbo
0
1K
Member Avatar for Micko

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)? …

Software Development gui python
Member Avatar for vegaseat
0
311
Member Avatar for lucia

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, …

Software Development c c# c++
Member Avatar for lucia
0
522
Member Avatar for Mahen
Member Avatar for Stoned_coder
0
177
Member Avatar for JavaFish

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
Member Avatar for hjangel
0
444
Member Avatar for Lacuna

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
Member Avatar for Lacuna
0
266
Member Avatar for tayspen

i need code that will allow me to restart shutdown or logoof the computer (saftley)

Software Development
Member Avatar for r0ckbaer
0
193
Member Avatar for Micko

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++
Member Avatar for Micko
0
118
Member Avatar for boki

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 …

Member Avatar for tayspen
0
116
Member Avatar for luxnova

[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
Member Avatar for vegaseat
0
146
Member Avatar for gabe522k3

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 …

Software Development c display
Member Avatar for gabe522k3
0
118
Member Avatar for levk

If I have two templates that are mutually dependent, is there a way to declare one without defining it?

Software Development c
Member Avatar for Narue
0
135
Member Avatar for shortLived

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++
Member Avatar for Narue
0
248
Member Avatar for freesoft_2000

Hi everyone, Please bear with me as i have a rather silly question. Lets say i have an object and i want to convert that object say a document or any other object to an array of bytes. Does anyone know how to do this? Any help is greatly appreciated …

Software Development java
Member Avatar for DeepZ
0
322
Member Avatar for indianscorpion2

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
Member Avatar for Rashakil Fol
0
231
Member Avatar for 3265002918

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++
Member Avatar for 3265002918
0
182
Member Avatar for Arhianne

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:

Software Development algorithm c++
Member Avatar for Dante Shamest
0
123
Member Avatar for luxnova

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
Member Avatar for vegaseat
0
294
Member Avatar for bruce3210

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
Member Avatar for BinaryMayhem
0
140
Member Avatar for konacious

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++
Member Avatar for konacious
0
214
Member Avatar for Judas

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
Member Avatar for Judas
0
93
Member Avatar for DotNetUser

When I mix managed with unmanaged code I get the compiler error: "'IDataObject' : ambiguous symbol". How do I resolve this? Thanks.

Software Development c
Member Avatar for Dave Sinkula
0
1K
Member Avatar for altheastronut

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
Member Avatar for zyruz
0
102
Member Avatar for vineet goel

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 …

Software Development c display
Member Avatar for CrazyDieter
0
497
Member Avatar for jhdobbins

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
Member Avatar for CrazyDieter
0
143

The End.