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
U

ubriela

@ubriela
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help me about " template"
    U ubriela

    How can I use the word string as a data type, like int? C++ does not support it? ? #define string char * ????? // some time it is wrong Suppose that I have a header file for a template class: dummy.h #ifndef DUMMY_H_ #define DUMMY_H_ // phototype template class dummy { dummy(); public: void read(); // void get_value(T&); private: T value; } // Implimentation ....... template void dummy::read() { cin>>value; } ....... #endif // test #define string char * main() { dummy name; // object name name.read(); // -> an error occurs ....... } Why is that? if I replace string by int dummy name; name.read() // NO PROBLEM I knew my fault.... cin>>name can't be used for char * (pointer) but I want to use string as a data type, so that I can declare: dummy name; Can you have me? thanks a lot....

    ubri

    Managed C++/CLI help question c++

  • maths equation in c++
    U ubriela

    I think i need your email to send you my code

    ubri

    Managed C++/CLI c++ help

  • maths equation in c++
    U ubriela

    uri_130688@yahoo.com

    ubri

    Managed C++/CLI c++ help

  • maths equation in c++
    U ubriela

    Hi I have just done a calculator program by c it includes: arbitrary equation; quadric equation; linear equation; cubic equation, a set of equations, complex mode ..etc.(using graphics) if you want source code, send me your mail.:)

    ubri

    Managed C++/CLI c++ help

  • Array and String
    U ubriela

    #include void main() { char string1[10]="abcdef"; char string2[10]="abcdef"; string1[1]='\0'; string2[1]='\0'; printf("%s\n%s",string1,string2); } result: a a ---- i don't think it is wrong:rolleyes:

    ubri

    Managed C++/CLI question data-structures beta-testing
  • Login

  • Don't have an account? Register

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