Anonymous
its basically a timed error message that ends after a certain amount of time i set
I_Interface
Anonymous
Anonymous
have a good rest
klimi
Gn
I_Interface
I_Interface
Gn
I'm not going to sleep).
klimi
I_Interface
Anonymous
Anonymous
i think i gonna rest on it myself , come up with an solution later.
mohammed islam
I need to join the chat group
Anonymous
Anonymous
Lol
Yea man . My bug free program now does weird things out of the blue .
Venkat
Did know how to create games
Venkat
Anonymous
Yes
Then use it to answer your question, is it so hard?
Anonymous
Did know how to create games
Google is only true friend , just gotta know how to talk to her , ask her the right questions, and she toss it your way
n1coc4cola
Hello, I'm making an app and I have a compilator error...
I have MainView that includes SecondUI and PackageView but PackageView and SecondUI includes MainView and I get this error:
"MainView is not declared in this scope" when I put the following function in SecondUI and PackageView :
public Q_SLOTS:
void setParenting(MainView *);
can some one help me to fix it?
N.B.: I added " class -{class name}- ; " in every header, separated of the " class -{class name}- : public -{class name}- { ... };
Surgeon
Hello. I'm beginner in C++. Please I need to use a vector of references, but I don't know the correct declaration
I tried
std::vector <struct Filleul& > listeFilleul;
But it seems to have an error !
n1coc4cola
Anonymous
n1coc4cola
Surgeon
You don't need to use struct keyword in this context
Here, I want to use a vector of references to struct data type :
struct Filleul
{
int idFilleul;
std::string nomFilleul;
bool aUnParrain = false;
};
struct Parrain
{
int idParrain;
std::string nomParrain;
std::vector <struct Filleul& > listeFilleul;
};
n1coc4cola
Can you help too? 😥
Have it... I had to use the forward declaration but never used it, I declared as forward the class that is in the header...
I had to use in class SecondUI and PackageView:
class MainView;
and not
class {class name, the name of the class dedicated to this file};
Anonymous
Anonymous
Anonymous
struct is used to create new types
Anonymous
But itself it's just a keyword
Anonymous
Which can be used not only for creating types
ウサギ
How to undef a typedef, For example, Ms define a struct in "wininternl.h" which like
typedef enum _PROCESSINFOCLASS {
ProcessBasicInformation = 0,
ProcessDebugPort = 7,
ProcessWow64Information = 26,
ProcessImageFileName = 27,
ProcessBreakOnTermination = 29
} PROCESSINFOCLASS;
and I include the header, but, the enum is not my dish. I wanna redefine the enum like
typedef enum _PROCESSINFOCLASS
{
ProcessBasicInformation,
ProcessQuotaLimits,
ProcessIoCounters,
ProcessVmCounters,
ProcessTimes,
ProcessBasePriority,
ProcessRaisePriority,
ProcessDebugPort,
ProcessExceptionPort,
ProcessAccessToken,
...
}
how to achive that. is there a method like #undef ???
olli
Anonymous
/warn
MengShu
Ilya
MengShu
MengShu
Is this what you want?
Anonymous
https://www.harrisgeospatial.com/Learn/Blogs/Blog-Details/ArtMID/10198/ArticleID/15289/Why-should-GOTO-be-avoided
Ludovic 'Archivist'
Ludovic 'Archivist'
Also, well, sometimes goto is just the way to avoid cache issues
MengShu
I just download boost binary for msvc14.2 and install it. After that, I create a new project and
add boost path to Project Property/VC++ Directories/Include Directories
and
add lib64-msvc-14.2 to Project Property/Linker/General/Additional Library Directories.
After updating the settings, I can compile my simple code with boost.
To use source trail, I opened this simple project by MSVC and create a new project of source trail by following steps.
1. Select C/C++ from Visual Studio as the source group.
2. Click Create Compliation Database.
3. Switch to MSVC and a windows will pop up.
4. Select the project you want to parse and click Create.
5. A Cbd Ready window pops up and click Import.
6. Switch back to new source group window of source trail and click Select from Compilation Database at Header Files & Directories to Index section.
7. Select boost path and your project path then click Save,
8. Click Next.
9. Click Create
10. You can start parsing your project.
Nikhil
/rules
Ilya
MengShu
Ilya
MengShu
I just downloaded the binary of source trail and installed it.
I didn't install plugin for MSVC addtionally.
Anonymous
Anonymous
hellow every one
Anonymous
if you can teach me c++
András
Anonymous
what
Javi
Anonymous
what its mean
Javi
You want a teacher. Teachers are paid for their work
Anonymous
oooooooooooooooooooo
Anonymous
how much you want
Javi
I'm not a teacher, but if you want one, you'll have to pay him/her
Anonymous
okkk
Anonymous
thank u
frakw
How to change this code so that it can scanf intput the length and width of the maze
https://pastebin.com/t1QUgJ4k
Jussi
Anonymous
QT developer in the house?
Anonymous
I need help man c'mon
Anonymous
How to deploy qt projects in linux?
Ilya
Anonymous
Ok. Can i have more elaborated explanation please?
Anonymous
Ilya
Ok. Can i have more elaborated explanation please?
Actually this is a very big question because this depends on what Qt version you use in the application.
It is one thing if you use system Qt, and another if you use latest or specific Qt version
Anonymous
Anonymous
Hi! I have a question about multiple global definition. I have two files:
foo5.c
#include <stdio.h>
void f(void);
int x = 15213;
int y = 15212;
int main()
{
f();
printf("x = 0x%x y = 0x%x \n", x, y);
return 0;
}
and bar5.c
double x;
void f()
{
x = -0.0;
}
the result of work:
gcc -o foobar5 foo5.c bar5.c && ./foobar5
x = 0x0 y = 0x80000000
I can't uderstand why y contains 0x80000000? After all, bar5.c does not define y and does not change its value. I expected the variable x to be changed in the foobar5.
Anonymous
Oh, I get it. The assignment x = -0.0 will overwrite the memory locations for x and y
Anonymous
hello somebody know how works std::reduce?
Anonymous
I have an issue with this, std::vector of 3dpoint(x,y,z) gives me overflow
Anonymous
3dpoint = std::reduce(vector.begin(), vector.end());