Author Topic: Just started >.>  (Read 1106 times)

Offline ClaY

  • Single posting newcomer
  • *
  • Posts: 3
Just started >.>
« 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.
« Last Edit: March 30, 2017, 12:10:51 pm by ClaY »

Online Commaster

  • Multiple posting newcomer
  • *
  • Posts: 69
Re: Just started >.>
« Reply #1 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...

Offline ClaY

  • Single posting newcomer
  • *
  • Posts: 3
Re: Just started >.>
« Reply #2 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   ???

Offline ClaY

  • Single posting newcomer
  • *
  • Posts: 3
Re: Just started >.>
« Reply #3 on: March 30, 2017, 02:08:16 pm »
Is there any setups should i download before i start writing projects?

Offline Miguel Gimenez

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: Just started >.>
« Reply #4 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

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

Next time I suggest Code::Blocks User forums Help for this kind of questions.


Offline BlueHazzard

  • Lives here!
  • ****
  • Posts: 1415
Re: Just started >.>
« Reply #5 on: March 31, 2017, 12:38:03 am »
And make sure to not have installed two compilers!!!

Offline rxbarey

  • Single posting newcomer
  • *
  • Posts: 1
Re: Just started >.>
« Reply #6 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();
}

Offline stahta01

  • Lives here!
  • ****
  • Posts: 5870
    • My Best Post
Re: Just started >.>
« Reply #7 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

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org