15,897,371 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Radoslav Dimitrov (Top 19 by date)
Radoslav Dimitrov
18-Sep-13 13:37pm
View
tnx you all guys :) Now everything is working correctly
Radoslav Dimitrov
18-Sep-13 13:25pm
View
tnx to you too
Radoslav Dimitrov
18-Sep-13 13:24pm
View
tnx. But now it gives this huge error:
/tmp/ccHIAxjq.o: In function `main':
testsfml.cpp:(.text+0xeb): undefined reference to `sf::String::String(char const*, std::locale const&)'
testsfml.cpp:(.text+0x106): undefined reference to `sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)'
testsfml.cpp:(.text+0x12d): undefined reference to `sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)'
testsfml.cpp:(.text+0x161): undefined reference to `sf::Window::close()'
testsfml.cpp:(.text+0x178): undefined reference to `sf::Window::pollEvent(sf::Event&)'
testsfml.cpp:(.text+0x19d): undefined reference to `sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)'
testsfml.cpp:(.text+0x1b7): undefined reference to `sf::RenderTarget::clear(sf::Color const&)'
testsfml.cpp:(.text+0x1c6): undefined reference to `sf::Window::display()'
testsfml.cpp:(.text+0x1d5): undefined reference to `sf::Window::isOpen() const'
testsfml.cpp:(.text+0x1f1): undefined reference to `sf::RenderWindow::~RenderWindow()'
testsfml.cpp:(.text+0x238): undefined reference to `sf::RenderWindow::~RenderWindow()'
collect2: error: ld returned 1 exi
Radoslav Dimitrov
18-Sep-13 13:17pm
View
Actually it is a simple application not Hello World
Radoslav Dimitrov
28-Aug-13 11:47am
View
baba.h:
#include <iostream>
using namespace std;
struct baba
{
int age;
long long ebn;
baba(int age)
{
this->age = age;
}
};
Radoslav Dimitrov
28-Aug-13 11:46am
View
This is a library.
Sorse:
#include <iostream>
#include "baba.h"
#include "linked list.h"
using namespace std;
int main()
{
LinkedList<string> babi;
char command;
while (true)
{
cin >> command;
string name;
long long ebn;
switch (command)
{
case 'a':
cin >> name;
babi.Add(name, babi.Count() - 1);
break;
case 'r':
babi.Delete(0);
break;
case 'd':
cin >> ebn;
babi.Delete(0);
break;
case 'e':
return 0;
}
}
}
Radoslav Dimitrov
28-Aug-13 11:44am
View
Everytime.
Radoslav Dimitrov
12-May-13 4:42am
View
I'm using Windows.
Radoslav Dimitrov
9-May-13 14:25pm
View
Yea he must :D
Radoslav Dimitrov
9-May-13 8:20am
View
Yea thats working too, but I like the dictionary more :)
Radoslav Dimitrov
9-May-13 8:16am
View
Tnx it is working.
Radoslav Dimitrov
8-May-13 9:16am
View
ok
Radoslav Dimitrov
8-May-13 8:59am
View
Yes, I think
Radoslav Dimitrov
8-May-13 8:54am
View
It's a little bit rude too have 2 solutions.
Radoslav Dimitrov
8-May-13 8:48am
View
We do not understand you. Better add the link. OK?
Radoslav Dimitrov
7-May-13 14:42pm
View
OK. I started it. Actually I remember a time ago there were many people doing this game. I will see their algorithms. И Рускии Вперьод! :)
Radoslav Dimitrov
6-May-13 5:11am
View
you need lidraries:
time.h
cstdio
conio.h
cstdlib
windows.h
iostream
Radoslav Dimitrov
6-May-13 5:09am
View
sry for the bad code here is it:
#include<iostream>
#include<string>
#include <cstdlib>
#include <conio.h>
#include <cstdio>
#include <time.h>
#include<windows.h>
#define KB_UP 72
#define KB_DOWN 80
#define KB_LEFT 75
#define KB_RIGHT 77
#define KB_ESCAPE 27
#define KB_ENTER 13
using namespace std;
int KB_code=0;
void gotoxy (int x, int y)
{
COORD coord;
coord.X = x;
coord.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE),coord);
}
int main()
{
while(true)
{
if (kbhit())
{
KB_code = getch();
if(KB_code==KB_DOWN)
{
}
if(KB_code==KB_UP)
{
}
if(KB_code==KB_RIGHT)
{
}
if(KB_code==KB_LEFT)
{
}
}
}
return 0;
}
Radoslav Dimitrov
6-May-13 5:06am
View
Hey I do not saw you wanna add controls. It is so easy!
Code:
Show More