What did i do wrong?
Dende:
What did i do wrong?
Everything.
.
Almost everything - he said "please"
cmon im a begginer guys
Look, your image cannot be seen.
You have not ask a related question.
You have not posted any schematics or code.
cmon you can do better that.
.
You're trying to embed an image on your computer:
http://file:///C:/Users/Dende/Desktop/Screenshot_1.png
That won't work because we can't see images that are stored on your computer. If you want to embed an image then you should follow this guide:
(Out of Date) Guide: How to Insert Uploaded Images in a Post - Website and Forum - Arduino Forum
HOWEVER, it is almost never appropriate to post screenshots. POST TEXT AS TEXT!!!!! When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).
Sorry didnt see that guys..
so i was reading a book and this code popped up and i typed it and when i go compile and shit it gets this error: $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
#include
#include
#include <winbgim.h>
using namespace std;
int main()
{
int gdriver = 9;
int gmode = 2;
initgraph(&gdriver, &gmode, "");
void setbkcolor(int WHITE);
void setcolor(int BLACK);
cleardevice();
circle(320,240,180);
getch();
closegraph();
return 0;
}
You're failing so miserably I'm starting to think you're a troll.
Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. Using code tags and other important information is explained in the How to use this forum post. Please read it.
pert:
When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).
This is what an Arduino sketch should look like:
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Stop what you are doing and go through all these links.
Only then come back here.
Arduino links.
Watch these:
Some things to read:
https://learn.adafruit.com/category/learn-arduino
https://learn.sparkfun.com/tutorials/tags/arduino?page=all
https://learn.sparkfun.com/tutorials/what-is-an-arduino
http://playground.arduino.cc/Code/AvoidDelay
https://forum.arduino.cc/index.php?topic=384198.0
https://learn.sparkfun.com/tutorials/using-the-logic-level-converter
http://arduino-info.wikispaces.com/
https://learn.sparkfun.com/tutorials/how-to-read-a-schematic
.
Hi,
Welcome to the forum.
Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html
Thanks.. Tom...