132,726 Archived Topics
Remove Filter ![]() | |
:?: hello everyone, id like to ask for some help. i am a beginner in Java programming. i am doing mastermind game using java. the whole logic of the game is already finished, and my ONLY problem now is :?: HOW will i be able to repeat the whole game … Software Development java | |
im compiling a who wants to be a millionare game and i am unsure where to start does any one have any ideas??? :mrgreen: thanks Software Development java | |
Ok, I'll be taking a C++ course soon, and I want to use a class (in college) that was very difficult for me to get an idea of what I'm looking at since browsing around C++ looks very complicated. In comparison to a college level calculus class how does it … Software Development c++ | |
the book "Effective C++" have a item introduce cosnt,but a question i dont understand clearly. [code] class GamePlayer { private: static const int NUM_TURNS = 5; // constant eclaration int scores[NUM_TURNS]; // use of constant ... }; const int GamePlayer::NUM_TURNS; // mandatory definition; // goes in class impl.file [/code] why … Software Development c++ | |
I have my program until that point and I can't finished, please someone helps me to finish my homework #include <stdio.h> int main () { int x, y; x = 6; y = 2*x*x*x+5; Software Development c | |
were do i start? i just want to find a text template write code and then compile and learn c++ were do i go about starting on this compiler..i write basic code to start off but it wont let me pick "compile" and i want to know were the hell … Software Development c++ | |
Hi i want to convert my C project to C++. so does anyone knows any tool that converts a C program to C++ Software Development c++ | |
Could some one help me with writing this code in C++. I'm taking a course called PSP, personal software process. The program i have to write is : store and retrieve a series of n real numbers into and from a file. On entry, the program should accept integer or … Software Development c++ | |
1. int *f() { int *m=(int *)malloc(2); return m; } WHY THIS POINTER TO INT TREATED AS A GLOBAL VARIABLE. 2.can a pointer points to another pointer like that int *p,i=2; int *q; p=&i; q=p; IS IT RIGHT. Software Development c++ | |
I'm trying to write a program in complex arithmatic for my math class. The text I have gives me the following for addition: typedef struct FCOMPLEX {float r,i;} fcomplex; fcomplex Cadd(fcomplex a, fcomplex b) { fcomplex c; c.r=a.r+b.r; c.i=a.i+b.i; return c; } but my compiler refuses to accept it. it … Software Development c++ | |
I really need help I'm student from college and I need to write a C program a) declare two integer variables x and y b) let x = 6 c) find y value use the following algebraic formula y=2x (third power) + 5 Software Development c | |
[COLOR=Magenta]Everytime I open up a project that I ever made, and try to build it, it keeps complieing all of these other files that i've never seen before, and it gives me about 300 errors. I don't know what to do. I can't even use it, everthing has these files. … | |
i have a project is something like instant messaging, how to know who logged in and check wheather the user is in my userlist (e.g user.txt) Anyone can help me? Software Development java | |
i m just learning pointer in c++. and i coded a program. however the output is not wat i wanted. :?: [code] #include <iostream> using namespace std; void descending( int *, const int ); void ascending( int *, const int ); int main() { int input[10]; int *p = input; … Software Development c++ | |
i need some help in understanding to write the following programs.please describe how you think of doing it.. 1) * ** *** **** ***** ****** ******* 2)******* ****** ***** **** *** ** * thank you..... | |
hi im new to c++ (started today) and im reading a book about c++ (called C++ Programming A) Well i started to read and learned the first code and wrote it in Microsoft Visual C++ and i get a error (error C2065: 'cout' : undeclared identifier) i dont know why … Software Development c++ first-post microsoft | |
i made a program in a windows application project , but i wonder how can i put a skin for my program to be nice looking, to be more specific i want to design a skin ( on any program not .net specficly ) then apply it on my program … Software Development | |
The following code will not compile n i'm a little stuck as to why - public class Question8{ static final int ROW_SIZE = 10; static final int COL_SIZE; public static void main(String[] args){ COL_SIZE = 10; ROW_SIZE = ROW_SIZE + 10; } } Software Development java | |
Hello, everyone I am pretty much a new programmer programming a little in C++ and basic. I am having trouble with this portion of the program that I am working on. When I include line 16, cin >>FullTimePartTime; the program skips line 21, cin.getline(response,256); and does not let me enter … Software Development c++ | |
I am looking for an arp sender written in c++ with no deps (no libpcap or libnet). I am working now at some raw sockets code, but i get all sort of errors in the sendto(), even with the IP_HDRINCL option set. The code is ok, it sends TCP and … | |
Can I get a list of C programmes so that I can see the solution of any program I want. Any website related to it? I have an interview next month on C.Please suggest. | |
Hi everybody, I am quite familier in C.But i don't any thing about printer port programming.Can you help me......? thanking you... rishi | |
Hi guys. Check out this tut on the web. [url]http://guideme.itgo.com/atozofc/[/url] good help with programming in c and dos. its a free ebook with individual files for each chapter. around 70 files. too good to miss. hope u like it. | |
hello can any body there tell me that i have a database named [B]watershed1.mdb [/B] which contains three tables such as "watershed_tb1,watershed_tb2 and watershed_tb3". now what i want to do is create a List box in VB6.0 and take the appropriate text boxes required.so when i select watershed_tb1 from the … Software Development visual-basic | |
OK, not the best title but in essence true. I have programmed in Quickbasic since 1995. I love the language, but changes in printers, the adddition of USB ports, and the change to DOS emulation on the 2000/NT/XP platforms indicate a need for another language. I wrote a VB.NET console … | |
[code]#include <iostream.h> #include <ctype.h> #include <string.h> #define MAX_NAME_LEN 30 typedef struct Sheet { char Name[MAX_NAME_LEN + 1]; struct Sheet *Next, *Prev; }Sheet; //prototypes void initialise(Sheet *&, char arr[], Sheet *&); void right(Sheet *); void left(Sheet *); void first(Sheet *&); void last(Sheet *&); void erase(Sheet *); void insert(char word[], Sheet *&, … Software Development c++ display linked-list | |
How can i write the coding for a reversive of a given integers. for example: char str[] = "012345"; Reverse( str ); printf( str ); then the output will be displayed as [B]"543210" [/B] i need pointer as well to null-terminate string as a parameter and reverses this string. then, … Software Development c | |
I want to have a class LIST -- a dinamic list of rational numbers (defined previously in my RATIONAL class). I want another class STACK to inherit LIST's root and end pointers for my list.(STACK also is dinamical) Please help because it says that STACK cannot access the root and … Software Development c | |
[B]Creating a C++/Assembly Project [/B] The project we'll develop in this tutorial will consist of a main() function written in C++. It will call an assembly function named clear(). Since Visual C++ does not recognize assembly code, VC++ will have to be told what program to call to compile the … Software Development assembly c++ display microsoft open-source visual-basic | |
hi all, below is a part of a car game am developing.can any one tell me how to accelerate my car while pressing a key(in this case,its'a') n also how to decelarate it? also tell me how to mov up or down while still pressing the 'a' key.i have to … Software Development c++ | |
[size=4]Beginning Perl[/size] [b]by Simon Cozens, Peter Wainwright[/b] I have gone through several Perl tutorials in the past, and I have to admit that this is the best one I've seen, especially if you already know how to program. I came from a C++ world, so it was relatively easy to … | |
my code is posted below the program is to be very simple just just a button a choice box a text box and a canvas the user is to be able to select what item they want and then the price appears in the label....then the user is able to … | |
:( Hi, I am creating a program that analyses a GUI within Windows XP environment.I am using Java to do all the Guis and other bits. Also, I use Java Native Interface to talk to Windows API. I am having a few problems. I need to make a mouse pointer … Software Development api c gui windows-api windows-xp | |
I wrote this program, however I can't seem to get it to read a string of numbers. Right now it inputs the numbers as single digits and also counts the white spaces. I thought that StringTokenizer would work, but I can't get it to. It compiles, but then errors out. … Software Development java | |
Hi i'm having a few problems..i'm trying to do a time class that holds the hr, min , and meridian( am or Pm). this is what i have so far. For the void set how would i set the char mer[] to am or pm. class Time { long hr, … Software Development c | |
Yes i know everyone hates homework help but this was a last place i could go I am writing a program that stimulates a vending machine and i have written almost all of the code its just not working correctly I am stressing out because it is due by tomorrow … Software Development c++ | |
I need to know how to get support for dot net for mac mahcines. I have a asp.net app, I need to run the same on mac machine,how the same can achived,pls let me know. thnks n ragrds siddartha | |
Hi all, Someone is going to laugh at me for this one. Can you have two arguments in a switch case statement? [code]switch [COLOR=Red](choiceA, choiceB)[/COLOR] { [COLOR=Red]case 1,2:[/COLOR] cout <<"Information"; break; default: break; }[/code] Software Development c++ | |
Hello guys, This code returns 2 errors and I dont understand why. [CODE] #include <iostream> #include <string> using namespace std; char choice; void M(); void C(); void Process(); void M(){ cout <<"Multiplication\n"; } void C(){ cout << "Calculation\n"; } void Process(){ cout << "Make a choice\n" << "C or M … Software Development c++ | |
Hi! Pls, somebody help me!! I'm stuck here since days. I don't know, what i'm doing wrong. Software Development c linked-list | |
Hi, I am trying to write an engine simulation program in C++ - please not that I have never done any programming. I have attached what I have done so far which is a program that calculates the cylinder volume from a crank angle (theta). What I need now to … Software Development c++ | |
[img]http://img19.imageshack.us/img19/9384/f5.JPG[/img] #include <stdio.h> #include <math.h> void main() { double a,b,c,disc,x1,x2; printf("To find the roots of a quadriatic equation with real roots\n") disc=b*b-4*a*c if(disc<0) printf("The roots are complex",disc); if(disc>=0) printf("-b+sqrt(disc)/2a",x1); printf("-b-sqrt(disc)/2a",x2); This is what i wrote, i know it is missing alot but I really dunno how to do it, so … Software Development c | |
ok im trying to change this from link list to a queue.bt whenever i run it it sill shows from last to first which is the opposite from what i want.here it is, i hope somebody can try to see whats wrong with it. #include<iostream.h> #include<conio.h> struct queue { int … | |
[FONT=Arial Black]undefined[/FONT][SIZE=5]undefined[/SIZE]HELP! could anybody have this kind of code: code that writes numbers from 1 to 10 in a list and then deletes even numbers. Software Development c++ | |
Is there anyway to debug a link error? After looking up LNK 2005 in MSDN where do I go next?? Thanks David Software Development c | |
I need to change this code i have written into class I need it done urgently, i have tried, and failed numerous times. [CODE]/* Assignment 2.cpp Michael Ainsworth 15737944 15.05.2004 Assignment 2.cpp Computerized Sketchpad */ //Preprocessor Section #include <iostream> #include <stdlib.h> using namespace std; const int MAXCOMMANDS = 100; const … Software Development c++ | |
I have two classes. The first collects input data and calls a second class for inputing data from a file. After the data is read I would like to use it inother classes but am having problems getting the data back. To save space I will only show part of … Software Development java | |
Hey guys, I was wondering if you could help me fix my program. I'm witing a program in C++ that adds, subtracts, multiplies and divides fractions. I'm suppose to put in the cosntructor that the denominator cannot be 0 or a negative number and i also I have to reduce … Software Development c++ | |
I am in a project and i am using win simple console application and i would like to know how to make the user choose the directory of files. thnx :idea: Software Development c++ | |
is there anything in c++ that provides to print out on screen colored text ex. cout<<"welcome"<<endl; output: [COLOR=Red]welcome[/COLOR] thx Software Development c++ |
The End.