132,726 Archived Topics
Remove Filter ![]() | |
I got this big problem. I have to automate a Telnet connection for this project but I have no idea on how to do that in C/C++ :( . I need to be able to send an ascii file's contents (1 command per line) so that it will automate those … Software Development c++ | |
Does anyone know of a good way to prevent a process from being hooked by another, or at least by detecting the hook? Software Development c++ | |
Greetings. I have another problem here. I placed a button onto the first tab of a tabbed control with 5 tabs. The button cannot be clicked during runtime. Why is this? Don't think the codes in the btnEdit_Click() is wrong because I've tried the same on a form. Please help. … Software Development visual-basic | |
Hi, I have a problem that my program is writing only single line from the dataset whereas I want to write whole data from the data file to be read and written on the screen. Somebody help me. This is my program: import java.io.*; import java.util.*; class QueryAnswering { int … | |
[url=http://interviews.slashdot.org/article.pl?sid=02/08/25/236217&mode=thread&tid=145]http://interviews.slashdot.org/article.pl?sid=02/08/25/236217&mode=thread&tid=145[/url] Software Development perl | |
[size=3][font=Times New Roman]Could anybody please tell me what is the advantage of declaring variables to be of an interface rather than class type?[/font][/size] Software Development java | |
I created this into a cgi file [QUOTE] #!/usr/bin/perl # # sload - current server load # print "Content-type: text/html\n\n"; print <<EOM; <META HTTP-EQUIV="Refresh" CONTENT=15> <TITLE> $ENV{SERVER_NAME} HTTPD Load </TITLE> <H2> Current load average of <A HREF=/>$ENV{SERVER_NAME}</A><HR></H2> EOM print `uptime`; print "<P>"; [/QUOTE] Now I want that on my website.. … Software Development perl | |
I want to open and parse the contents of a web page on the WWW. Is there anyway I can do this using PERL? | |
Everyone knows that usually every Perl program should start with something along the lines of "#!/usr/bin/perl" ... what's often called as "shebang." Anyone know why? I just read this cute post on google... The exclamation point has been nicknamed "bang" for as long as I can remember. (Back in the … Software Development email first-post google perl unix | |
I'm writing a face recognition application in Visual C++. Part of my task will involve taking an image from my digital camera as input to my pattern recognition algorithm. I am using a Kodak EZ 200. Is it possible to write a program in C which can make system calls … | |
Hi there,I'm having a problem with calling an object member function of a class 'Fraction'. Particularly the Fraction addTwoFraction,mult.div,etc.I've included the code i've worked on and in it you'll see i've put 3 instances of where i'd like atleast your thoughts on it. The first is in callingEnviron(defined right after … | |
Hi. Can anyone help me to distinguish the reason behind this case? Thanks a lot. I initialized the following variable: `unsigned char temp=0;` In the following statement block, I managed to get the results that I wanted to be displayed on the first go (traversing the while loop on the … Software Development c | |
hey, my first post here :D and I don't think it's too much of a problem... I just can't get it to work. This is a simple Tile Engine written in GDI32/C++. Errors: c:\Documents and Settings\Default\My Documents\Visual Studio Projects\Dragon Slayer UM\Dragon Slayer UM\cMap.h(10) : error C2143: syntax error : missing … Software Development c++ first-post storage visual-studio | |
Well It's seems that a lot of people talk about using these programming languages but what I wondering is what do most of you do with these skills. I mean i got some Q-Basic knowledge and some Visual Basic.net skills but what kind of programs do you make or what … Software Development visual-basic | |
i am in a class and find C++ a challenge. i have an assignment and this is what i have so far. i need help, because i am not too analytical. #include <cstdlib> #include <ctime> #include <iostream> using std::cout; using std::endl; int main() { int (a, b); int (a * … Software Development c++ | |
You ever use Perl? What are you thoughts? How does it compete with newer languages? Can it be used for the enterprise arena? Software Development perl | |
Hello . . I'm trying to get my random number generator to work but i'm having a tough time here's what i've written so far I can't seem to get the number generator to give me a truly random number . . . i'm sick of tooling with it and … Software Development c++ | |
Please help me get the minimum in the following problem. i get everything else but the min. take a look at it. //************************************************** // Description : This program asks a user for five real numbers, then outputs // the number of data entries entered, the total of the numbers // … Software Development c++ | |
I need to loop the one sound so that the timer will make it so the sound will play then delay 5 seconds and then play again. My source code is: import java.awt.*; import javax.swing.*; import java.applet.AudioClip; public class Morning extends JApplet { private AudioClip rooster; private final int dealy … Software Development java java-swing | |
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 … Software Development c++ first-post | |
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[]; … Software Development java java-swing | |
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 … Software Development visual-basic | |
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 … Software Development java | |
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 Software Development shell-scripting | |
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? … Software Development redhat shell-scripting | |
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 … Software Development apple microsoft microsoft-access microsoft-windows visual-basic windows-xp | |
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 … Software Development java | |
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. … Software Development first-post visual-basic | |
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 … Software Development database-design visual-basic | |
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 … Software Development visual-basic | |
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 … Software Development visual-basic | |
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 … Software Development laptop visual-basic | |
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 … Software Development c | |
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 … Software Development c++ | |
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 … Software Development c | |
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 … Software Development c++ | |
[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] Software Development c++ first-post pdf | |
[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 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 … Software Development visual-basic | |
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 … Software Development c++ | |
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 … Software Development c | |
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 … Software Development c++ | |
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 … Software Development c | |
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 … Software Development c++ microsoft visual-studio | |
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 … Software Development c | |
#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 … Software Development c++ |
The End.