199,114 Archived Topics
Remove Filter ![]() | |
Hi After getting great help with my first post here I thought I would try again. I need to create a (dynamic) number of objects of two types, eggs and fry. I then need to be able to delete the fry and then make a new group of fry objects … | |
I'm writing a simple one window program with inputs and outputs in a GUI. My problem is that I don't know what program to use to make the graphics and then implement them into the window I am using. I just need to be able to make simple vector objects … | |
I can't seem to get my applet running...Pls help me look at my source code: import java.awt.*; import javax.swing.*; import java.applet.*; public class ChineseHoroApplet extends JApplet { protected final static String names[] = { "Year of Birth", "Month of Birth", "Day of Birth" }; protected JLabel labels[]; protected JTextField fields[]; … | |
I've written a lot of code in QuickBasic 4.5 and have finally decided to learn Visual Basic. I'm using VB 4.0 which I bought a long time ago, but for learning purposes I figure it's good enough for now. It all looks pretty straightforward, but my problem comes when passing … | |
I have IIS running on my MS windows 2000 professional, but it seems I have been unable to configure my web server to be able to run ASP correctly. Please kindly give me a step by step guide to be able to do this well. Thanks. Austin Okonji. | |
Hi, I need to import a file with strings and integer values, and use each word i import as a seprate variable. I thought of using String Tokenizer to separate the words and make them 'tokens' but im not sure if that will make them variables and if it will … | |
Hi, folks! See the examples: bash$ X="ls"; $X file1 file2 file3 *** Works correctly! bash$ X="ls | wc"; $X ls: |: No such file or directory ls: wc: No such file or directory *** Doesn't work! How to make the last command work correctly as first? Thanks in advance! Reginald0 | |
Hi All, when i run ./configure it checks for cc and gcc then says error: no acceptable cc found in $path. now i understand that cc and gcc are compilers and i belive that gcc should be on the system somewhere, but how do i put it in the $path? … | |
hello, my 1st post.... i want to have a blinking cursor at the end of a sentence on my site. just like the blinking cursor on this page. does anyone know how to do this? i cant figure it out. im a rookie at website design so please dont get … | |
I know how to catch an action from someone entering page.php and then set a default to page=1 and have the action for page=1 to load page=2, but how should I make page.php to catch 1,2,3,4,5,infinity so it keeps loading until the user closes the browser? reloading can be done … | |
[size=4]Macromedia Coldfusion 5 Language Reference[/size] [b]by Ben Forta[/b] Useful but could use better examples - While this reference contains all the functions/tags/variables/etc. used in ColdFusion, the book could use better/innovative examples. At first glance, I was surprised at the size of the book. How can someone fit so much in … | |
Alright, heres the deal. I learned how to program Basic on an Apple IIe computer, then I learned to migrate it into the newer computers as they came along. I haven't programmed for a while and Windows XP doesn't exactly have QBasic on it. That's what it was called the … | |
HI I have written a program that reads text from the input file and writes the text to the out put file. Im using the StringTokenizer to count the number of words in the input text file. The problem is that it reads only the first line but it does … | |
hello peeps We are currently trying to catch the little jobbie who keeps printing swastikas form a variety of printers on the school network - anyone got any ideas how to force the network to stick the username of the printing user at the bottom of each document printed? Ta. … | |
Hi, i m begginer level in visual basic but my company order to me ! make the application for my company operation so plz advice to me? i to plan now front end vb back end access and also design the front end and also created the database now my … | |
Try/Catch blocks, Private, Public, Protected variables/functions, and more. Import functions through namespaces....finally! This language is reminding me more of C++. Read more about it here: [url]http://www.phpvolcano.com/articles/php5/index.php[/url] | |
Hi, I am a 15 year old student in a florida high school. In my computer programming class we had this project due that determines our final grade. It consists of a project that allows the user to read records from a database in visdata from visual basic 6.0. It … | |
Hi. I'm not new to the world of programming, but I have never touched vb before and would like to learn it. Firstly, can vb be used solely to produce an application without using any other programming languages like c? Well, secondly, if I am to use vb together with … | |
Just got a new laptop with XP on it and having problems running Visual Basic 6 projects. Everytime I open a project and try to view the form, Visual Basic 6 closes and exits out. I can run the application and view the forms, but for some reason can not … | |
Can someone help? I'm lost on sessions here. I can't seem to get sessions to work at all. Are there any good tutorials that anyone knows of that might help me get started correctly? (Cause I think I'm getting them mixed up.) | |
The other day, I got an idea for a compression program, and decided to write up a function that compresses a file into "filename.compressed". Compression function works fine, but I get a nasty assertion failure at the return of the main() function, after the file's been compressed. Assertion failure is … | |
Hello all, I will start off by saying Im in the dark with some aspects of C++, in an intro computer course at college. My question is about how to use char commands for when I have multiple users using the same segment of C++. ex. 3 users are asked … | |
I am dabbling in ASP.NET, and since I have switched to Mozilla Browser I have had coding problems. Partly because I know IE will load and display a page whether there are errors or not sometimes. Anyhow, when I use something simple like this in ASP.NET, it is not displayed … | |
Hey everyone, I'm having trouble with a program I'm working on. In this program I'm supposed to sort an array of names. I ask the user how manys names will be inputed. Number of names will not exceed 100. Names will be in the format of "Last,First,age" with no spaces … | |
Hello.I am having some problems with my vc++6 compiler.Here is the code: [CODE] #include <iostream.h> class SimpleCat { public: SimpleCat() { itsAge = 2; } // if I put the definition of the function into the daclaration,that becomes an "inline" function ~SimpleCat() { } // class destructor int GetAge() const … | |
Hi, I am currently working on a program that compiles fine and runs OK to give some results. However, when I try to split the program into 3 parts, it it gives some weird compilation errors. Initially I had one program, calc.cpp that manipulates polynomials (adds/ subtract/multiply them). However when … | |
[b]Last transmission from Starbase XY003 -- the galaxy's last out*post*[/b] [size=2][url="http://undergraduate.csse.uwa.edu.au/units/231.312/Clect1.pdf"][u][b][color=red]http://undergraduate.csse.uwa.edu.a....312/Clect1.pdf[/color][/b][/u][/url][/size] [size=2][url="http://www.teicontrols.com/notes/C_Programming/C_ProgrammingNotes.pdf"][u][b][color=red]http://www.teicontrols.com/notes/C_...ammingNotes.pdf[/color][/b][/u][/url][/size] [size=2][url="http://www.oucs.ox.ac.uk/documentation/userguides/c/l922.pdf"][u][b][color=red]http://www.oucs.ox.ac.uk/documentat...ides/c/l922.pdf[/color][/b][/u][/url][/size] [size=2][url="http://oscinfo.osc.edu/training/C/ccourse_fix.pdf"][u][b][color=red]http://oscinfo.osc.edu/training/C/ccourse_fix.pdf[/color][/b][/u][/url][/size] [size=2][url="http://ei.cs.vt.edu/%7Ecsei/project/sf/notes/cprog.pdf"][u][b][color=red]http://ei.cs.vt.edu/~csei/project/sf/notes/cprog.pdf[/color][/b][/u][/url][/size] [size=2][url="http://www.strath.ac.uk/IT/Docs/Ccourse/"][u][b][color=red]http://www.strath.ac.uk/IT/Docs/Ccourse/[/color][/b][/u][/url][/size] [size=2][url="http://www.cs.cf.ac.uk/Dave/C/CE.html"][u][b][color=red]http://www.cs.cf.ac.uk/Dave/C/CE.html[/color][/b][/u][/url][/size] [size=2][url="http://www.cprogramming.com/"][u][b][color=red]http://www.cprogramming.com/[/color][/b][/u][/url][/size] [size=2][url="http://www.eskimo.com/%7Escs/cclass/cclass.html"][u][b][color=red]http://www.eskimo.com/~scs/cclass/cclass.html[/color][/b][/u][/url][/size] [size=2][url="http://www.lysator.liu.se/c/"][u][b][color=red]http://www.lysator.liu.se/c/[/color][/b][/u][/url][/size] [size=2][url="http://www.eskimo.com/%7Escs/cclass/notes/top.html"][u][b][color=red]http://www.eskimo.com/~scs/cclass/notes/top.html[/color][/b][/u][/url] [b]Here are some compiler links:[/b] [/size][size=2] [size=2][url="http://www.gnu.org/software/gcc/gcc.html"][u][color=red]http://www.gnu.org/software/gcc/gcc.html [/color][/u][/url] [/size][/size] [size=2][size=2][url="http://www.delorie.com/djgpp/"][color=red]h[u]ttp://www.delorie.com/djgpp/[/url][/u] [/color][/size][/size] [size=2][size=2][url="http://http://users.cyberelectric.n...nkCompilers.htm"][color=red]h[u]ttp://http://users.cyberelectric.n...nkCompilers.htm[/url][/u] [/color] [/size][/size][size=2][size=2][url="http://http://www.willus.com/ccomp.shtml"][color=red]h[u]ttp://http://www.willus.com/ccomp.shtml[/url][/u][/color] [/size][/size] [size=2][b]Read the sig for a better understanding[/b] [/size] [B][edit] link colours changed. peterska2[/B] | |
[b]Working With C++ [/b]C++ syntax is the way which the code is arranged to form the language. Each computer language has its own unique syntax. For example, the syntax for adding two numbers may be different in one language than in another. Syntax is to programming as grammar is to … | |
Hi! Can anyone please provide me with a little bit of information regarding this subject? I think I've heard from a lecturer that there is a command to auto-update the entries of a table. For example, when a new record is inserted, the salary column would be auto-inserted with (rough_salary … | |
Hi, I'm having a problem of starting mySQL.. well I'm actually forgot what did I do a long time ago that mess the mySQL up in my server. Well now when I'm trying to execute this command from the terminal such as: /etc/init.d/mysql start .. instead of starting the terminal … | |
Hi! does the ASP.NET forums support newgroup in the forums? (gateways) like [url]http://www.dbforums.com/f23/[/url] does? when yes, are some forums anywhere only that are newsgroups 'gateways' ???? regards, gicio | |
Hi there this is my first time here. I am working on a problem for school. I am working hard on solving a problem and hope someone can help me. I am making an order form. I have the form all done. It asks for the name, address etc.... Next … | |
Ok guys... I'm sorta new to this forum.. so hello all.. but neways.. here is my problem.. This is the assignment I have: [url]http://www.ece.uc.edu/~berman/228-2003/program2.html[/url] Can someone basically explain what I should do? Am I supposed to like sort part of it using insertionsort and the other part with one of … | |
Please help me! Some homework help appreciated here, thanks! I'm trying to simulate a server (e.g. a cpu) which accepts requests (e.g. processes). All requests (theoretically) come in at the same time. Each request consists of the amount of cpu time it needs in addition to a priority on a … | |
why do i get this compiling error with the following code?? numbers.c: In function `main': numbers.c:33: `for' loop initial declaration used outside C99 mode [CODE]int main() { int oneNumber =0; // hold the valid integer entered int countPositiveFactors =0; // accumulate a sum , so should be initialize to 0 … | |
I stared at it for about a good 30 minutes now and I still can't find anything wrong with it. Can someone help? [CODE] /*This program makes all vowels uppercase. All other constants are lowercase. Keep in mind I make to call a function isvowel() to evluate the character.*/ #include … | |
Hello, I have a wiered error. My code works if my struct has less then six floats but not otherwise. If I have more then six floats it freezes the system. See code for better description: [CODE] /* * * SSI2.cpp * * Data Description: * * The data consists … | |
Hello.I have been using Microsoft Visual Studio 2000 enterprise edition and I'm having a problem with linking files.I have saved a file named as "class declaration.h" by default and another named as "cppfile.cpp" by default.Let me tell you how I actually started this.First I created a new project workspace and … | |
At least show me the logic on how to solve the math problem parts. I will put it into program if you just explain to me how to get the factors, tell the computer how many factors, find the sum and print it to screen, and find the product and … | |
#include <iostream.h> #include <conio.h> void gas(); void main() { float gal; while(gal<=0) gas(); cout<<"thanks for your help"; getch(); } void gas() { float gal; float total; float miles; float avg; cout <<"enter the gallons of gas used (-1 to end): "; cin >> gal; cout <<"enter miles driven: "; cin … | |
(edit) Code was too long for forum. I'm splitting it in 1/2 I'm currently working on a Direct3D class that simplifies D3D, so I can use it to make games, applications, etc. I started on it yesterday, got it to work so it draw triangles with a different color on … | |
Here's my code. I just want to return the length of a string. How do I do that? Any assistance would be greatly appreciated. [code] #include "stdafx.h" #using <mscorlib.dll> using namespace System; int _tmain() { String *strString; int intLength; Console::Write(S"Enter a String "); strString = Console::ReadLine(); Console::Write(strString); intLength = strlen(strString); … | |
Is there a way to clear the getchar variable in a loop after you go through the loop the 1st time? | |
#include <iostream> #include <conio.h> void input(char *str) { bool quit = 0; unsigned char key; for(int i = 0;quit != 1;) { key = getch(); switch(key) { case 8: // Backspace if (i > 0) { i--; *str--; std::cout << "\b \b"; } else putch('\a'); break; case 13: // Enter … | |
// This program asks the user to enter the length of a rectangle // then for the width of a rectangle , to find the perimeter by // this 2 * length + 2 * width #include <iostream.h> return unsigned long int Perimeter ( unsigned short int , unsigned short … | |
does anyone have any idea about the solving a linear system using gaussian elimination? i got the row interchange to work but i am having trouble in the for loop of the stage counter. help would be appreciated | |
i get a error that i cant figure out any help? void main() { // Initialize WinSock int wsaret=WSAStartup(0x101,&wsaData); if(wsaret) return; //Create the SOCKET SOCKET conn; conn=socket(AF_INET,SOCK_STREAM,IPPROTO_TCP); if(conn==INVALID_SOCKET) return; //clean up mess closesocket(conn); WSACleanup(); } i get this error: wsaData : undeclared identifier any help | |
well i have been working on a server client program and i got the server working but the client isnt. Program Flow of a simple TCP client: 1)Initialize WinSock library using WSAStartup() 2)Create a IPPROTO_TCP SOCKET using socket() 3)Connect to the server using the socket we created, using connect() 4)Close … |
The End.