Hi All,
I have to read text file which has data in following manner,
2345 zxc 123344 abchfdfdfdg
I need to read fixed length and store same into variable,
Say first 6 character, then nex...
Hello,
Im looking to make a client/server application where the server will be running on a linux environment.
After looking around I can only find single threaded socket examples, howev...
I need to write a program that uses both a C-string and a string data type. I have the C-string type working but I'm not sure how to incorporate the string data type. Can someone point me in...
Hi,
I have the following snippet of code (C based):
unsigned int val = 10;
char str[256];
sprintf(str, "Hex value: %x", 10);
I want to accomplish the same thing using C++ strings. ...
Is there a precedence order that is used by compilers or something of that sort in determining whether to use a conversion constructor as opposed to a conversion operator where both are availa...
This question was asked previously but, to no avail.
I am using code blocks as my compiler.
I have a program that I am trying to figure out.
The instructions given is:
Write a C++ progra...
As became clear in this question :
http://www.experts-exchange.com/Programming/Languages/CPP/Q_24645383.html
there seems to be a difference of opinion on whether or not to use th...
I need to concatenate two binary files. but i need to do this operation as fast as it can be. Can you show me a way to do this ?
thanks
(I am using windows and VS 2008-native c++)
Hi Guys,
I am trying to make a program that can detect edges and then select anedge as a landmark . But it seems that I have some problems with the heap. It is a long code, and I hope you c...
I'm following a tutorial for MFC/C++ that regards automatic resizing of elements in a formview. Essentially, I want to have a CFormView dialog with elements that occupy the entire screen, no m...
GetProcAddress is returning null...
I am using the latest C++ Builder from CodeGear.
There is an API.h and file1.cpp - then I show my output... no compiling problems - just keep gettin...
Hi All,
I am using sscanf function to read a text file with syntax like this
1 Record One With Space
2 RecordTwo
3 Record Three with space
How can I use the sscan...
Hi, right now i'm testing motion tracker with optical flow. When i run it, it appears to have error.
How should i solve it? I'm new to c++
First-chance exception at 0x00411b98 in Motion Tr...
Hi Experts,
i have a VS6 c++ project. I created a form and want to add an image to a Picture Control.
I added the Picture Control to the form, but I dont know how I can set the image to ...
I'm working on an existing program and I see several uses of a curious bit of code:
gridCharsSeen->Add(new char[ strlen(gridChars) ]);
strcpy((*gridCharsSeen)[Zero], gridChars);
--...
I'm trying to get this program to compile. I'm sure I'm missing something (probably a lot!) Please take a look at my files and let me know where I am going wrong. Please and thank you.
HI guys,
I am trying to do what itsmeanobidyelse told me to do and see if it is working...
- create a folder below your project directory - say rltoolbox.
- copy all source files from
...
I'm a fairly new programmer as far c++ goes, and even newer to visual studio. I need to make an application that can go out and grab a URL and bring it down for me to parse and populate variou...
What is the purpose of "#pragma section". In two different header files if same '#pragma section' is defined, then what will happen? If we defined in two different header files of same pragma,...
How to include OpenCV 1.2 to Dev c++4.9.9.2?. I tried some procedures as given in http://www.cypax.net/tutorials/opencv/index?language=en
but those are for openCV 1.1.
I always get the err...
Hello
I have an application written in VC++ 6.0 that is intermittently failing (both running on XP Pro and 2003 Server.) When it does it produces an error in the event log:
faulting mod...
Hi ,
I want to post one 3gp video file to the web server. The name of the video file is in chinese characters.
i am using following method call to do it:
bool bOK = WinHttpSendRequest(G...
What is the difference between int *pointer = new int[10]; and int *pointer = new int[];
Are their any gotchas associated with the second form?
hello expert,
i have written a program for virtual cashier system using dev c++.
the following is the program
could you please and make modification where neccessary.
#include<std...
hi,
Where can I find source code of 1D Bin Packing algorithm in C++ or C?
I know Best fit (BF) for one-Dimentional Bin Packing is best cutting with lowest cost?
I searched Net but cannot fi...