15,540 Topics
| |
Trying to download a file from a url I used Urldownloadtofile command, it works once but if you repeat the command with same details like put it on a loop it works once only. I've already tryed to do w/o loop manual same outcome. Any help would be great FalconGT | |
Hi everyone, am currently building a program with VS 6.0 but am having problems with string coruption, especially with strncpy(), [code]#include <stdio.h> #include <string.h> int main() { char prog[200]; int count; int su2; char mir[200]; strcpy(prog, "cmd.exe"); // we add cmd.exe to prog count = strlen(prog); // we measure the … | |
i need to write a program that can count the number words the user enters and and the recurences of each letter. ex: Have a nice day Total words: 4 a = 3 d = 1 e = 2 ... Can't get the program i've writen so far to count … | |
i have windows xp, where can i find the SDK for windows XP or 2000 where can i find a comlete documentation of all the API of windows | |
Hello, this is a simple model for a simple program that will spawn a thread to run a given option in a menu (only option 1 and 2 run threads). The loop will need to wait for a thread to complete, so it uses the thread_join function [code] pthread_t newthread; … | |
i've attached the file below.. pls gip me a hand!! | |
Hi, In my assignment , I need to print out the ID,Name and more in a line..with no space bar allowed..besides using the \t ,is there any method to print out... Student Student Course bla bla ID Name Info xxx xxxxxxxxxxxx xxxxxxxxx when i use the \t, my output aint … | |
Hello, everyone. Today, I'm working on giving myself a headache. The reason is simple. I'm rusty on, or maybe ignorant of, dynamic declaration of arrays. What I'm doing is MFC related, but I've got the MFC questions ironed out for the most part. Now, I've got to make a good … | |
pls tell me about the creation of structure type vector. | |
Hmm...how do i go about doing a conversion only the first letter of the string? << Thread split from [thread=13727]original[/thread] since this is taking on a life of its own. >> | |
| |
hi, I'm supposed to design a banking software project. I'm trying to make the password shown as asterisks. but I don't know how. can someone help me. please? Karen | |
I play a game called JediKnight 3. I got the source code online from a website, and I wanted to do a command but don't know how to even start it. Under the g_cmds.c file is where we execute commands. Such as /sit and you will begin the sit animation … | |
Hi! I paste a short sample for a subfunction of a class of mine. I get an error about the declaration of "of" and I'm not quite sure what's wrong :rolleyes: To this I would like to ask if anybody knows how can I check in a new file for … | |
The structure: [code] typedef struct{ int val[256]; }values; [/code] The function(needs to pass information into the structure array 'val'): [code] void changeval(values *obj, int v, int a){ (*obj).val[v]=a; } [/code] ^^That piece is the piece I am having issues with... And finally, the call: [code] int main(){ values item; changeval(&item,0,50); … | |
I am in need of a program to monitor a simple gauge inside of an external box. I need program recommendations and interface recomendations. I am prototyping something that requires a gauge ranging from 0 to 20 to be installed in a box. The gauge then needs to be monitored … | |
Potion of my code: [code] class UserCommand{ string cHandle; //definition of command int numPara; vector<int> cPara; //parameter of command public: UserCommand(string ucData); //copy constructor UserCommand(const UserCommand& uc); inline const string getHandle(){return cHandle;}; inline const int getPara(int i){return cPara.at(i);}; inline const int getNumPara(){return numPara;}; //overload operator = here inline UserCommand operator=(UserCommand& … | |
alright, in a snippet it says im supposed to use the topic code but it says that that directory does not exist. i tried adding a bunch of libraries in the project options, but it still didn't work. any ideas? | |
Aight ppl i am in search of a script which will be helping in my work alot. i need a script, which can read one file and detect changes in it. eg: like i want to track the gain/loss of castles in a game. Rank Name Castle Land Kingdom Strength … | |
I have just started doing a little C programming and, looking here and there, I have noticed a lot of people prefers to use <iostream.h> library (and related commands "cout" and "cin") instead of using <stdio.h> library (and related commands "printf" and "scanf") What are the advantages and/or disadvantages (if … | |
I would like some help regarding multithreading... i want to know what exactly happens when i start a new thread... i.e how it affects the variables etc. in the program... one query i have is what happens if i start 2 threads starting with the same function.. will their running … | |
May please one of you explain me what the hell are these sucking error messages and how can they be fixed that the sucking DevCPP compiler generates out for no reason which I have been trying to solve for two entire days? [Linker error] undefined reference to `wglCreateContext@4' [Linker error] … | |
Think of typing a password. You type your password but what you see is merely a asterisk sign. If you use `getch()`, no problem! Put the problem is that I can't use the getch. See the code: struct Func { char password[9]; char name[34]; char code[8]; }element; do{ gotoxy(21,6); printf("****************************************"); … | |
Hi, These i am getting calls for opening in Telecommuncations domain. what exactly is this. They are looking for Programmers in C lang. with telecom domain. Can any body plz tell what is that exactly and what i need to know in C lang. I am working on Linux environment … | |
I would appreciate some input if you don't mind. Can someone please explain to me why converting a base class pointer to a derived class pointer is considered dangerous by the compiler. | |
this is a code for the binary search program in c language.now the program is not showing any error but when i run this program then the output is like: enter the total numbers:6 enter the array elements: 5 4 7 1 3 2 the sorted numbers are:1 2 3 … | |
I am pretty much done a shell program I have to write for my operating systems class. The only problem is that I can't seem to figure out how to make this function work. It is supposed to separate out a list of tryable paths that is from the getenv("PATH") … | |
I have an idea for a game project. i have started to write out the outlien of the game and i have me and another person starting to work on the modeling and skinning of the needed models. This pays nothing but i thought that someone might like to join … | |
Dear Friends i want help about the Simulate a Linux/UNIX shell, called MASH (for MiniAture SHell) in the C. plz read the the my problem and send the best solution of my problem as soon as possible. Objectives: After the completion of this assignment you’ll be able to: Simulate a … | |
Hi all, I am trying to malloc some memory and then pass the address of the first array into another function however I keep getting the same error (see thread name). [CODE]Error:error C2664: cannot convert parameter 1 from 'float **__w64 ' to 'float *[/CODE] Here is a short version of … |
The End.