I have a Makefile with following lines for importing source code:
projecct_FILES = include/mongoose/mongoose.c \
include/protobuf/GPBProtocolBuffers.m \
src/project ...
mongoose...
Type: Posts; User: hqt
I have a Makefile with following lines for importing source code:
projecct_FILES = include/mongoose/mongoose.c \
include/protobuf/GPBProtocolBuffers.m \
src/project ...
mongoose...
@MK27: I have built it (built in Menu Project) or use Harmer as you say. After build it, I don't see any exe file in Debug folder. (I choose Debug Build).
Please tell me more .
Thanks :)
Can you tell me more clearer, please.
Thanks :)
I'm sorry if my question sames with many others on Internet, but I still cannot fix it.
I'm using Windows 7 64 bit and Eclipse 64 bit version,too
My problem is: I cannot compile a C++ program...
I'm reading an ebook. they're using volatile keywords for a variable.
This is my example code:
volatile boolean check;
int a ;
//other function
public void functionA(){
check = true;
...
Ah, now I understand why people say DoEvents() use for simple task. Because in this case (for example command A and command B) will nearly cost no time. So, our program won't have bottleneck affect....
I have search that they say we should use DoEvents() for Simple task and Thread for Complex task.
But up to now, I still don't know all about DoEvents(). So, I don't know why people say this task...
Oh, thanks you. First time, I decide to use Timer. For each interval time, my program will check what happened from user. But, I think that is uneffective and I google, some post says about...
I have a piece of code that have Application:: DoEvents() and I have read on MSDN, but there's something that I still don't understand.
for example, here is my pseudocode:
void functionA()
{
...
I have a formular, that doesn't need to count for each number. (it means if you know n lines: line i like y_coor, at line i, j(th) like x_coor, so I know what number at coordinate(x,y). But maybe It...
Oh, I can do it now :) . Thanks for your help, after download program and read carefully, I understand why you ask me that question :D
But know, I have other questions: How to include music file...
In one post, they say I should copy fmoddex.dll to excuted folder. after that, set: #include"fmod.h". I think this is is nonsense because no file name fmod.h and It's really, my IDE take error:...
I have read on forum about how to play Mp3 file fmod library. But, I don't know how to add this library to my project. It's mean on fmod offcial site, there are many topics to down and with each...
I want to read and write to text file at the same time. But I have met some problem. Here is my code:
int main()
{
string t;
fstream f(file,ios::out|ios::in);
f>>t; //read first line of...
Oh, thanks very much. May I have understand. if I don't thinking wrong, coor.X and coor.Y are just parameter of struct COORD. (but before that, I think coor.X and coor.Y is the present cursor) so I...
I have use a function of <windows.h> library. And I have met error with MS Visual Studio 2010, but when I compiled on Dev-C++, No problem. Here my code:
void gotoXY(int x, int y)
{
COORD...
I don't know what different in C++ between this data structure. I know that MultiSet is a set that has many same keys, and Heap is like binary Search Tree. MultiSet/Set, I have read that C++ use...
I'm using system command DIR: this command list all folder in the present directory. But I don't know how to touch folder in this list.
Example:
#include<windows.h>
int main()
{...
As the latest code that I have posted, it has error on line declare:
cmp_hull comp; not because sort function.
I have typed again and still met that error :( I really don't know why.
Please...
this is my code with some shorten (struct point just make my program don't have error, you might not see that struct :D. the program I meet from struct comp_hull and function convex_hull_grahamscan()...
Oh, I'm sorry so much.
I have indented my code again. I'm sorry because I type above code in web field, so use 'tab' is so difficult :( I still cannot paste my code in my IDE to browser to,...
Oh, thanks so much, I have use define and forget '()'
#define ALL(a) (a).begin(),(a).end //WRONG HERE
Yes, I'm trying to use overloading because my comparison need more parameters. (above...
I have a error with sort algorithm of c++:
struct point{ //define point
}
bool cmp(point a, point b){ //some line of code
}
typedef vector<point> polygon;
polygon Convex_hull(polygon&p){...
Yes, I understand that knowledge about float number is not trivial. About compare float number . I often use those pieces of code:
typedef double cfloat
const cfloat eps=1e-10;
inline...
I don't know in C, which method is more accurate. For example: I have four float numbers: a,b,c,d. (suppose they are all different to zero).
and I need to know: a/b (<,>,==) c/d. So, we should...