Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: ClaY on March 30, 2017, 11:54:44 am
-
Hey there.
I'm studying c++ at my college but as you know they won't learn you everything so i started to teach myself... so i started to download c++ programme and i found codeblocks prog so i started to write a small project but it couldn't build it for some reasons
"qq - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?! (Do you have a compiler installed?)
Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).
this is the bug that i find so how can i solve it >.>
Thanks.
-
Please reread the "bug" message carefully. There is a question and some instructions on what to do next in there...
-
Please reread the "bug" message carefully. There is a question and some instructions on what to do next in there...
I already read it but i couldn't understand anything ???
-
Is there any setups should i download before i start writing projects?
-
You should install MinGW and then configure CB to use it, see:
http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler (http://wiki.codeblocks.org/index.php/Installing_a_supported_compiler)
You can also unsinstall CB and download CB with MinGW from:
http://sourceforge.net/projects/codeblocks/files/Binaries/16.01/Windows/codeblocks-16.01mingw-setup.exe (http://sourceforge.net/projects/codeblocks/files/Binaries/16.01/Windows/codeblocks-16.01mingw-setup.exe)
Next time I suggest Code::Blocks » User forums » Help for this kind of questions.
-
And make sure to not have installed two compilers!!!
-
can some review this
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
struct node
{
int data;
struct node* next;
struct node* prev;
};
struct node *start=NULL;
struct node* create()
{
struct node *n;
n=(struct node*)malloc(sizeof(struct node));
return(n);
}
void insbeg()
{
struct node *temp;
printf("\n ENTER THE DATA \n");
scanf("%d",&temp->data);
temp->prev=NULL;
temp->next=NULL;
if(start==NULL)
start=temp;
else
{
temp->next=start;
start->prev=temp;
start=temp;
}
}
int main()
{
while(1)
{
insbeg();
}
getch();
}
-
@rxbarey: Please review and then follow the rules for this website!
http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)
Tim S.