15,552 Topics
| |
Do you always have to put file access in the view? I think it would be more appropriate in the document, and it works fine to implement a CFileDialog object from the document file. Considering all the parsing and data storage I've got to do, that makes sense to me. … | |
Hi, I'm trying to test IMF filter with my application. I need to customize it so that i try to exicute the sample program named CustomFilterSink given under SDK for spam filtering. I get the following two errors when I compile the program. C:\Program Files\Exchange SDK\SDK\Include\Seo.Idl(773) : error MIDL2011 : … | |
I need help. I need help on reading input file using .READ and normal streams. I also need help on sorting input file and passing data to the structure rec and output it without showing any null characters..... here's my confusing code... #include <iostream.h> #include <iomanip.h> #include <fstream.h> #include <string.h> … | |
This is currently something in design phase, but I'd like to have the idea checked over. The situation is roughly as follows: I've got a display that can show some amount of structs with varying byte counts per struct. I've got a big binary file, over a gigabyte in size, … | |
Please shed some light on the procedure one must take to pull values (i.e. from database or variables with default values to a dialog. I am trying to pull values to a dialog using "strcopy(tempvariable, "Value");" but it is not working. Please help me. Nis | |
Hi, my question is about the fstream object. How does it work? since I was writing a program and I defined many files for the object. [U]I want to know if I can display all the files of the object at once and if so how.[/U] Thanks for understanding. This … | |
I am using BloodshedDev-CPP GNU. Assembly codes are written in this format : int Variable=45; /*a random value*/ __asm(mov %ax,_Degisken); The crap compiler uses 'AT&T Assembly Syntax'. The problem is I don't know that AT&T stuff and I want to call some interrupts in my program. In the [I]normal[/I] assambly … | |
Hi everyone, i am havinh problems linking OBJ files that uses the following: #include <stdio.h> #include <winsock2.h> #pragma comment(lib, "ws2_32") I am working on MEX matlab files. When i link them, i get the following errors: >> mex timestwomex.c C:\MATLAB6p5\sys\lcc\lib\ws2_32.lib timestwomex.obj .text: undefined reference to '_gethostbyname@4' timestwomex.obj .text: undefined reference … | |
I have a homework assignment that I have been trying to figure out for over 12 hours now...The program I am trying to write is too complicated to post, so I created a simpler program which lets a user enter two integers and an operation to perform. If someone can … | |
Can someone explain this to me once and for all? I keep getting different answers everywhere I look. What is the correct way to separate the class declaration from it's member functions? The way I am doing it now is that the declaration and all of the member functions are … | |
hey.. could someone give me some good resources on how to implement and use dialog boxes in windows applications.. | |
hi there. Am working on a program that finds the binary executable of a particular program when we input its filename. For example: INPUT: cmd.exe OUTPUT: c:\windows\system32\cmd.exe Am using the following API's: FindExecutable() SearchPath() if you got any other API or any other ways to find executable progrmatically, please share … | |
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? |
The End.