49,761 Topics
| |
Hello There, Can anyone help me figure out how to get Winsock and the Windows SDK working with Netbeans? I am using the latest version of both the SDK(6.1) and Netbeans (6.5). I have downloaded the SDK but I don't know how to get the libraries to link to Netbeans. … | |
I need to convert a C# code into C++. I think I have almost done it except of one line of code wich is this line. First follows the correct C# version but how will that be converted to C++ in bold wich for the moment is wrong ? (C#) … | |
so, I have a program that uses a keyboard hook, but starts it in another thread so that it can continue executing. The problem is, the only way I have to stop the mouse hook right now is to just kill the thread using TerminateThread(). However, this does not enable … | |
Hi I have a vector which contains a number of objects. Inside these objects are 2 attributes. the X and the Y coordinates. How Can I sort them from top to bottom 1st then left to right? e.g 0,0 1,0 0,5, 3,1 2,5 the output would be 0,0 0,5 1,0 … | |
Hi! :)))) I have to use sql connection to take queries from user by using textbox structure .How can I provide this .I don't find it anywhere . especially how can I connect sql and textbox structure together I do not know anything about this subject. I know c and … | |
hey all. this is (if i remember correctly) my first post, i have done alot of reading on this forum though and have found the info invaluable. my program is a calculater that calculates the amount of sheets of plasterboard and bags of plaster needed for a wall, firstly: have … | |
I am looking for a complete example for C++ where you connect to FTP-SSL. But is seems impossible to find a good example. The best I have found is: [url]http://blogs.msdn.com/adarshk/archive/2005/04/22/410925.aspx[/url] What I am looking for is a better example of how to Accept ALL certificates when connecting to FTP-SSL. I … | |
After building wxWidgets, I need to free space for any unneeded files. Should I uninstall wxWidgets after buidling? and what exactly building does? | |
Hi guys, i am working on this project, which has a C++ program for image processing. I have used Java and matlab for image processing in past so i never had to deal with Magick++ or ImageMagick. At the moment one of my main problem is i cant find Magick++ … | |
Hey folks, this is my first program and i dont know what to do to make it output my imput to a .txt file, can anybody tell me or show me what im doing wrong. thanks. [code]/*MuTech Computers Address Book by Michael Grayson.*/ #include <iostream> #include <fstream> #include <string> using … | |
Hi, I'm kinda new to development using visual studio. I have a c++ program and I want to specify command line arguments to it from visual studio. Can anyone please tell me how to do it? Thanks (The version I'm using is visual studio 2005) | |
:icon_wink: hi now im take compiler subject so that if any one have parsing in c++ please help me because im write lexical code but i havent time to write parsing please help me soon thanks | |
I can't figure out for the life of me how to import a class declared, defined and implemented within a dll into a host app using any GNU build systems. The two compiler suites I have are Dev C++ and the newer Code::Blocks. I have no problem with this using … | |
I've been working on an assignment: Write a program that produces a bar chart of population growth for a small town, at 20 year intervals during the past 100 years. It should read the populations rounded to the nearest 1000 people. for each year it should display the date and … | |
Hello everyone! I'm having a bad time trying to find a solution to my problem: I'm developping a client-server application. On the server side, I am calling a method, Recoit (receive), that calls internally msgrcv(), a UNIX system call for message-passing purposes. The problem is that I always receive a … | |
The problem ask to enter numb of students up to 100. but the user enter let's say 10. how do i manage to do that in arrays. Sorry if is a bother but i'm a newbie lol. | |
I wonder what the way is to Login to my FTP server with encrypted UserName and Password ? Normally when you login to a FTP Server, the UserName and Password travels as plain "text" wich could be "Hijacked" on the way. I wonder if there is a way to send … | |
So my program is taking input from the user, so it's storing it in a string known as x. But I don't want x to take the input after a hard return, it should keep reading until it hits a certain string, let's say "END", so until the user types … | |
Is there any good 2d game making library for kinda noobs? I've tried alegro but it doesn't work good somehow. If you know any tell please! Thanks | |
Can anyone please tell me what does the this Function do? I understand everything till the "(n * GetPower(n, power - 1))" part. I just can't understand it. I do realise what the "n * " does, it multiplies N to the other side, and I also get what "GetPower" … | |
I have an issue with my while loop (line 17) displaying the last donor in the list twice. I've looked around and I couldn't find any solutions that worked for me. Any ideas would be greatly appreciated. Here is my function: [CODE=C++]void delete_record( istream* file, string keyword ){ char response; … | |
Is there any libraries that can connect two or more computers that are on a lan together and send data to eachother? | |
Hi friends, there is a project which contains more than 10 small projects. These projects contains their respective exe's. Each project has some dlls to perform particular operation. Each dll is build by linking with either header1 or header2. My task is to integrate them in one project and make … | |
Hey, I have read windows API tutorial now but I am wondering how I can add things to main window itself, I know how to add things to dialogs and such but I just wonder how to add to main window, For example add button to main window? Sorry this … | |
I am working on STL(map) in shared memory. How can it be implemented. I am successsful in creating the two process process1 : writing a text to the sahred memory process2 : reading the same text from shared memory. But now i am planning to implement the shared memory for … | |
Whenever I include this file more then once: [code=c++] #ifndef GFUNC_GAURD #define GFUNC_GAURD #ifdef _WIN32 #pragma once #endif #include "DarkGDK.h" // For getting the next unused ID int GetNextID( ) { int temp = 1; while( dbObjectExist( temp ) ) // Found an id == temp? temp++; return temp; } … | |
I'm trying to figure out how to attach a class with pure virtual <</>> operators to other classes for the purpose of saving/loading the application state. So I started off with: [CODE]class IWriteable { public: IWriteable(): pCls(NULL) {} IWriteable(void *p): pCls(p) {} virtual ostream& operator << (const void * &p) … | |
Hello, I got the following code: [code] #include <iostream> #include <cstdlib> #include <ctime> using namespace std ; // Function Prototypes void pause(void); /** defines an abstract class */ class Jukebox { public: virtual void play() { cout << "Record unknown\n" ; } } ; /** defining subclasses */ class NewAge: … | |
I have been using just SDL for alot, but it really olny does 2d things well. So I started learning OpenGL from the tutorials at [url]http://anomtech.uuuq.com/[/url] I was fine using Dev-C++ until the textures tutoiral, where the program would immedently crash as soon as I compiled/started it. So the maker … | |
well this a parallel array and also be able to process the arrays but it doesn't do so can some one give me a hint of what i might be doing wrong. Thank you before hand. ------------------------------------------------------------------------- [code=cplusplus] #include <iostream> #include <new> using namespace std; int main () { int … |
The End.