User forums > Using Code::Blocks
Code completion problem
Pelleschi:
Hello,
I inform, i am not well in english, so scuse me !
Before, i solved the problem of the backspace, i have modified the xorg.conf ...
Now, I have a problem with the Code completion, it doesnt work automatically.
In C++, with an object, when i write the ".", it doesnt list all methods of the object, you see ?
Even if i type Ctrl+Backspace it doesnt work ... (but if i type Ctrl+Backspace in front of nothing, it list all type, all object ...)
How can I resolve my problem ?
Thanks !
ps : I am 13 and in france at shcool, the english level is so bad ...
ollydbg:
welcome!!
please post the sample/test code, and tell us how to reproduce such kind of bug, so that we can fix it.
Also, which version of c::b did you use???
Pelleschi:
I use Code::blocks 10.05, finally the last release (64 bit, Archlinux).
All example doesnt work with me, in C++, a point (.) after an object doesnt list them methods, you see ?
Folco:
You can give the code of a sample project which reproduce that please ? I'm french too, that's not so hard to understand :p
Pelleschi:
Its a default SFML project
--- Code: ---#include <SFML/Graphics.hpp>
int main()
{
// Create the main window
sf::RenderWindow App(sf::VideoMode(800, 600), "SFML window");
// Load a sprite to display
sf::Image Image;
if (!Image.LoadFromFile("cb.bmp"))
return EXIT_FAILURE;
sf::Sprite Sprite(Image);
Sprite. // /!\ list doesnt appear
// Start the game loop
while (App.IsOpened())
{
// Process events
sf::Event Event;
while (App.GetEvent(Event))
{
// Close window : exit
if (Event.Type == sf::Event::Closed)
App.Close();
}
// Clear screen
App.Clear();
// Draw the sprite
App.Draw(Sprite);
// Update the window
App.Display();
}
return EXIT_SUCCESS;
}
--- End code ---
to understand who ? :mrgreen:
Navigation
[0] Message Index
[#] Next page
Go to full version