19,876 Topics
![]() | |
i am in a intro to cs class and need help with a current project. it is a simple project but I seem to be stuck. the program is to read 2 integers for the height and width of a rectangle and then display the rectangle using "#" 's. We … | |
ok.. here I am with a double pointer to a 2D array and I am copying the data from another struct in to this 2d struct array. It gives me an illegal opperand error. Code: data.rows=polar.rows; data.trace = (SQwPOL**)calloc(polar.width,sizeof (SQwPOL*)); for (int i=0; i<polar.width; i++) { data.trace[i]= (SQwPOL*)calloc(polar.width,sizeof (SQwPOL)); for … | |
ok.. it seems like with every step in my program I stuble on more and more unconrprehendable errors.. this time it is with the printf function. When I am printing: fflush (stdout); puts ("\nOrganized data:"); for (int i=0; i<sdata.width; i++) printf ("'%s',",sdata.ar[i].name); puts ("\b"); for (int a=0; a<sdata.rows; a++) { … | |
Hello, Ok.. here is another problem I have come up with.. I have a string of numbers (comma or '\n' separated (from .csv file)). I have allocated an array of integers to put in the numbers into yet how do I actually do it. Example: I have "13, 34, 23, … | |
Hello C problem I am having problems saving a structure to a text file. My structure is below. What is the best way to save this to a file and open it from a file and display it on the screen. I have tried several ways but can't get it … | |
Hi again.Read the source code below please: // Determining the size of variable types #include <iostream.h> int main() { cout << " The size of a bool is:\t\t" << sizeof(bool) << " bytes.\n"; return 0; } p:s:I have not included the other variable types because there was no error message … | |
heya guys I mud and I use a client that is not all that powerful I'm new to c+ but have spent the last 2 weeks reading hard on it, I'm trying to write a few scripts and my client doesnt have all the necesary commands heres what I need … | |
I have to write an online dictionary software. I plan to use ATL Web Service, but I don't have any experience in it, and so is the dictionary programming. Can you show me some ideal? Thanks | |
I was wanting to know what is the best way to go about finding a char inside a char array and then replacing the char and outputing the changed array. Thanks Alot | |
Hi. How can we launch program from resources? | |
Hi. I wanted to create a "locking" program that stores information needed for another exe. When the person enters all the information needed and the file that he/she wants to "lock", the exe file will create another exe file that stores all the information being typed previously and also the … | |
[code]#include <stdio.h> #include <stdlib.h> #include <conio.h> int main () { int i,j; puts ("Trying to execute command CD "); [b] i = system ("cd c:\text"); [/b] if (i==-1) puts ("Error executing CD"); else puts ("Command successfully executed"); puts ("Trying to execute command del "); [b] j = system ("del *.txt"); … | |
I'm trying to put the whole program into a loop and I'm not shure where to place it. I have lots of diffrent windows that have to be updated. I have tried adding it into the function that starts the program but it just gets stuck in a loop and … | |
Hi im 14 aswell, and have developed one game thus far(simple pong game) i am understanding how everything works and would like to know what would be a good second game? ;) | |
i need 2 programmer to make a operating system for me. i will pay them nothing i have no experience in programming whats so ever. but aventualy this operating system will take off and will compete with windows it is then that you can have a small percentage of the … | |
Hi I'm trying to write a program that will work with kazaa dat files (ie the files where kazaa stores the downloaded file). Basically my problem is that i need to check if a 10MB chunk of the file has been downloaded, however kazaa stores what it has downloaded in … | |
Anybody understand these? I'm having the hardest time with them. Partly because I don't see a use for them :P But what would be an example of a time when you would need to operate on a bit itself? As in, what is their purpose? Thanks for any help :) | |
I was thinking of creating this program for a school related project and was seeking advice/guidence concerning the matter. I prepose to create 7 distinct personalities and have them communicate/interact in a virtual world. I will be storing data that has been collected through everyday discussion such as questions, responces, … | |
Hi. I am looking for joystick driver or something similar, what will pretend as joystick, but will use a mouse. I mean it should be something like joystick for games, but there will be only mouse attached to PC. Does anyone seen it somewhere? Or is anyone able to code … | |
i need to be able to add data to my .dat file without deleting my old data during a program run can anyone help me? | |
I was told that there was an api for the windows messenger. Is there and how do I include it in a project? | |
Hi, I search to one programmer what help me to construction one spider. The spider add urls to one data base. Is for a new websearch. Thank you. Sorry by my english. For more information write me to: <EMAIL SNIPPED> | |
Hello fellow programmers, I have a problem that I have been trying to figure out for a while now. I am trying to use the GDIPLUS library but am having troubles. To test this code as it is meant to be used, open a new solution in MSVC6.0 or 7.0. … | |
My buddy of mine told me he knows this old guy who used to program anywho he told me it was a very old programming language. He said it started with a D Cobol is a old one right? Anywho can you name some old programming languages? | |
[url]http://practicallynetworked.com/[/url] - One of the best Networking sites I seen so far I cant think of any more though... It will come to me Another site for good networking information [url]http://techtalkforums.com/[/url] lol |
The End.