Search:
Type: Posts; User: dellthinker
Search:
Search took 0.11 seconds.
-
September 3rd, 2022, 04:32 PM
Right now I'm using Code::Blocks 20.03 the latest version to revamp my coding skills. The very IDE the book suggested to use for most operating systems. The error I got suggested me to enable the...
-
September 2nd, 2022, 03:32 PM
Hello everyone, I finally bought a C++ For Dummies book and can't be any happier learning from it, I've followed the books directions as it instructed and fell into a bit of trouble. Normally I trust...
-
June 24th, 2011, 09:50 AM
As the title says, I've been looking all over for a simple step-by-step guide to build my source with a custom .dll that I've written. I'm getting familiar with VC++ 2010 but I can't find anything...
-
March 22nd, 2011, 12:01 AM
Disregard that post, I figured out the problem. It was a stupid mistake on my own part. Thanx for any consideration.
-
March 21st, 2011, 11:26 PM
My program crashes when it gets to a certain part of the code. I call ...
cout << GetLastError() << endl;
But 0 gets returned. My code ...
Source #1
-
March 16th, 2011, 12:00 PM
As the topic say's, I'm trying to find out how to test if a thread HANDLE is already in use. Or more simply, if a thread is already running. What if condition would I need to test to check if a...
-
March 15th, 2011, 01:45 PM
I've been wondering if my program ever executes the following ...
HANDLE thread1=0, thread2=0, thread3=0, Array_Of_Thread_Handles[3];
...
-
March 14th, 2011, 09:10 PM
I have to download a text file from my web server then call a read function that uses ifstream. Both work separately with no problems but when I try to get them to work together it fails miserably....
-
March 8th, 2011, 03:32 PM
> I don't know what you're referring to. Please explain.
I suppose my original question that I didn't ask was which of the two would have a greater capacity as far as holding array's of strings or...
-
March 7th, 2011, 07:45 PM
I'm finally seeing C++ coding in a different light, maybe the same as the more advanced developers here. I've recently found out that vector's are probably the 'best' way of storing array...
-
March 6th, 2011, 11:14 AM
How would I access lines to retrieve the data? vectors are very hard for me to get.
-
March 6th, 2011, 11:06 AM
If I were to declare a string, and allocated 30 arrays with a length of 40, but I only used probably 15 arrays, that wouldn't make a difference in program performance would it? I've done things like...
-
March 4th, 2011, 01:56 PM
Because I learn better if I try to find out 'why' something went wrong.
-
March 4th, 2011, 11:44 AM
I'm trying to access a string array by outputting each member of the array like so ...
int main(){
string str;
string lines[5] ={ "Line1:", "Line2:", "Line3", "Line4:", "Line5"};
...
-
March 1st, 2011, 12:18 PM
For example
cout << "Enter some text " << endl;
cin >> input; // Typing "This is only a test"
The word 'This' and 'only' would be parsed/delimited/erased in the final output is what I'm...
-
March 1st, 2011, 09:59 AM
The exact reason why I posted my problem here.....I tried something and failed and am now looking for a way to resolve it.
Can someone offer some real advice now?
-
March 1st, 2011, 08:14 AM
I have a list of key words in a char array that I would like to parse or delimit. Whatever the term used for this method, basically I want my function to "filter" out the words that are in my array....
-
February 27th, 2011, 08:20 PM
So my hypothesis was correct. A function passing another function as a parameter to another function. Sorry if I don't use the terms that your used to but I understand things better if I simplify...
-
February 27th, 2011, 07:56 PM
To my understanding, a "callback" is when one function calls another function, passing parameters. Is this correct? Or can it be function1 calling and passing the parameters or returning a value from...
-
February 21st, 2011, 09:18 PM
So I've decided to put some effort into learning Winsock, I found this tutorial here: http://johnnie.jerrata.com/winsocktutorial/ yesterday and started my coding.
#include <windows.h>...
-
February 19th, 2011, 04:44 PM
Sometimes I hate how these API's are designed. Can someone tell me what OFSTRUCT is and how to declare it? According to MSDN for OpenFile() ...
I understand the first and third parameter...
-
February 16th, 2011, 03:38 PM
I have found the solution...
int main(){
HKEY hkey;
DWORD dwDisposition, lRes = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\MICROSOFT\\Testing",0,KEY_WRITE,&hkey);
char...
-
February 16th, 2011, 01:19 PM
For the most part.
int main(char **argv,int argc){
HKEY hkey;
DWORD dwDisposition, lRes = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\MICROSOFT\\Testing",0,KEY_WRITE,&hkey);
...
-
February 16th, 2011, 12:35 PM
>4. You must not call RegSetValueEx unless RegCreateKeyEx returned ERROR_SUCCESS
Isn't that what I was doing? Also this works fine if I defined a null terminated string like this ..
char...
-
February 16th, 2011, 11:58 AM
Understood, but that still doesn't set a value. Can I have a hint on how I should go about doing this?
|
Click Here to Expand Forum to Full Width
|