199,114 Archived Topics
Remove Filter ![]() | |
[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? | |
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; … | |
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 … | |
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 … | |
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; } } | |
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 … | |
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 … | |
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 *&, … | |
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, … | |
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 … | |
[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 … | |
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 … | |
[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 … | |
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. … | |
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, … | |
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 … | |
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] | |
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 … | |
Hi! Pls, somebody help me!! I'm stuck here since days. I don't know, what i'm doing wrong. | |
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 … | |
[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 … | |
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. | |
Is there anyway to debug a link error? After looking up LNK 2005 in MSDN where do I go next?? Thanks David | |
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 … | |
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 … | |
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 … | |
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: | |
is there anything in c++ that provides to print out on screen colored text ex. cout<<"welcome"<<endl; output: [COLOR=Red]welcome[/COLOR] thx | |
I never get ok with the COM+ contexts... There are so many context types like client context, call context etc... Adding to this .NET provides few attributes such as MustRunInClientContext... I couldn't find any sample or links that explain this... Let me elaborate more. As the definition goes by saying … | |
Okay so im making this program to accept three integers for two different users (# of units for three quarters, for two people). Then im multiplying that number by the unit cost of 12. Then finally i divide that by 2 to get the average for both people. This is … | |
My problem is that :After using the program once how could i re-use it again? For axample :After i push "datalar"(meaning datas) and put the datas in after that you have to push " | |
Hey hey, how ya doing ya'll? Could any one help me or guide me to a reference that might walk me through a step by step tutorial, of how could i open or close a Cd-drive's tray using C/C++ codes? thanx in advance. | |
i have been trying to incorporate various element into this mortgage calculation program. it is supposed to present the three options from the array or prompt you to enter your own rates. my structure with the public and private sections are out of place. i need help streamlining this and … | |
i Need 2 design a program that will be able to read the two files of an EWAY Checkpoint (toll for moterway) and customer database, that will be able to produce a statement for each customer who has non-zero balance. and includes: Headings of the statement Customer information: customer’s name, … | |
We have an really weird problem on our web server. A few times each day, all requests are unanswered for 10 to 30 seconds. The delay looks similar to when a page is compiled (on first load). However, when the problem occurs it looks like all users of all applications/pages … | |
Hi everyone, I think this is a newbie question but that's exactly what I'm in C++ and programming generally. I undrsatand that tools such as pseudocode, flowcharts and hierarchy charts are planning tools that are useful in the process of identifying exactly what steps to take to solve a programming … | |
Hi I am working on an application with many arrays and the output needs to be in differnt formats on a page. That is I will have tables, graphics and regular lines of text. It would be nice to view the information and than have the ability to print it … | |
What is the windows API? -API (application programming interface) are (in this case) messages passed between a program and the Operating System. What can API do for your C/C++ coding on windows? -API can be used to make graphical programs and extend communication between your program and the operating system. … | |
Can anyone help? Does anyone know of a simple peice of code in c/c++ that will allow me to convert ASCII characters into their relevent binary code and back again? Cheers. |
The End.