Click here to Skip to main content
15,897,371 members

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;
}
};