Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
T

tguzella

@tguzella
About
Posts
10
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Declaring a global variable of a template type
    T tguzella

    I wish I could do that, but this is my assignment for my computer science project... Thanks for the reply. Thiago Guzella

    C / C++ / MFC question wpf

  • Declaring a global variable of a template type
    T tguzella

    Hi there I am writing a program to use linked lists using templates, and i am trying to make it as fast as possible, so i am thinking of storing the address of the last inserted item. Each node of the list if declared as follows: template struct NodeList { ItemType *item; NodeList *next; } what i am trying to do is to declare a global variable like template NodeList *last_inserted=NULL; , but the compiler won't allow me to do that. If instead i declare it as NodeList<> *last_inserted=NULL, it is ok, but it would work for integers only. How can I get this to work??? Thanks

    C / C++ / MFC question wpf

  • generating .obj files out of header files
    T tguzella

    hi there i have a project in visual c++ 7, with a main.cpp file, and 5 header files used by the main file. how do i get the compiler to generate a .obj file for each header file on the project?? right now it is creating just one for the entire project... Thanks

    C / C++ / MFC c++ question

  • Newbie Question: C vs C++
    T tguzella

    thanks... that's what i am kinda thinking about: writing the program in C++ under visual c++ 6, and using inline assembly to optimize where necessary for mmx/3dnow/sse. i could do that under .net using intrinsics, but i don't feel much confortable with that...

    C / C++ / MFC question c++ visual-studio performance

  • Newbie Question: C vs C++
    T tguzella

    Hi there I have a question: how does a c++ compiler generate code?? does it convert the c++ code to c and then to assembly?? I am asking that because i need to write a number crunching program (it needs to be as fastest as possible), and i am thinking of initially writing it in C++ (i love C++'s OOP), then going to assembly. I am willing to sacrifice ease of programming in favor of speed, so should i write it in C or stay with C++?? Thanks Thiago Guzella

    C / C++ / MFC question c++ visual-studio performance

  • HELP PLEASE!!! CRAZY COMPILERS?????
    T tguzella

    the preprocessors are iostream, float.h, windows.h (i forgot about html tags on the forum...)

    C / C++ / MFC c++ csharp help question

  • HELP PLEASE!!! CRAZY COMPILERS?????
    T tguzella

    i need help: when i compile the following program (I have tested in bloodshed devc++, and visual c++ .net): --------------------------------------------------------------------------- #include #include #include #include using namespace std; int main() { float fnumber=1.123456789012345678; double dnumber=1.123456789012345678; long double ldnumber=1.123456789012345678; cout << "Float: " << fnumber << endl; cout << "Double: " << dnumber << endl; cout << "Long Double: " << ldnumber << endl; cout << "sizeof(float): " << sizeof(float) << endl; cout << "sizeof(double): " << sizeof(double) << endl; cout << "sizeof(long double): " << sizeof(long double) << endl; system("pause"); return 0; } ---------------------------------------------------------------------------- , the program outputs fnumber, dnumber and ldnumber (all of them) as 1.2346. i have no clue why this is happening... i am running this program on a athlon xp 2000+, under windows xp pro sp1... any help will be aprecciated...

    C / C++ / MFC c++ csharp help question

  • precise time measuring
    T tguzella

    hi there i have been working on a mathematical program, and i need some way to measure elapsed time between 2 operations precisely (if possible, as precise as sciencemark has in its primordia benchmark: www.sciencemark.org), but i dont like just going out and using some third party class... right now I am able to measure "only" up to miliseconds... thanx Thiago

    C / C++ / MFC

  • memory allocation issues
    T tguzella

    actually i am allocating this memory for 3 arrays... i am not using any third party allocation program... If this might be the problem, could anyone suggest me one to use (a freeware if possible :)...)??? i am running this on windows 2k (sp3) (i know i should be running on a real operating system: linux/unix, not this microsoft crap; i have no one to blame but myself for sticking with windows :(...), with 1.7 gb of free memory (that's why I am assuming problems are not coming from virtual memory...) thanx...

    C / C++ / MFC c++ data-structures performance tutorial question

  • memory allocation issues
    T tguzella

    hi there, i am writing a c++ program to make statistical analysis, which demands quite some memory (i'm using new to allocate an array and filling it with values)... whenever i need to allocate close to 200 mb the program and the computer gets really slow, taking forever just to allocate the memory... this happen when compilling on vc 6 and vc 7. when using dev c++ (mingw), the program just crashes while trying to allocate the memory... i am pretty much sure thats nothing to deal with memory leaks (all memory allocate is freed in the end), bad memory chips (i tested them using memtest) or insufficient memory (this pc runs with 2 gb of ram memory)... any suggestions on how to solve this??????

    C / C++ / MFC c++ data-structures performance tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups