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

Title: Just started >.>
Post 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
Quote
"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.
Title: Re: Just started >.>
Post by: Commaster on March 30, 2017, 01:34:05 pm
Please reread the "bug" message carefully. There is a question and some instructions on what to do next in there...
Title: Re: Just started >.>
Post by: ClaY on March 30, 2017, 02:07:09 pm
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   ???
Title: Re: Just started >.>
Post by: ClaY on March 30, 2017, 02:08:16 pm
Is there any setups should i download before i start writing projects?
Title: Re: Just started >.>
Post by: Miguel Gimenez on March 30, 2017, 05:40:21 pm
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.

Title: Re: Just started >.>
Post by: BlueHazzard on March 31, 2017, 12:38:03 am
And make sure to not have installed two compilers!!!
Title: Re: Just started >.>
Post by: rxbarey on May 22, 2017, 10:12:43 am
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();
}
Title: Re: Just started >.>
Post by: stahta01 on May 22, 2017, 10:29:06 am
@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.