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
_

__erfan__

@__erfan__
About
Posts
24
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Now I'm in trouble
    _ __erfan__

    google it

    The Lounge help question

  • Reality check
    _ __erfan__

    yes it definitely is. when i was a child they made us to say death to america, death to israel, ... and we had no idea where is or even what is america?!! we had to say it every day. after a few years when I grown up a little i had this question in mind, why are we saying this always?! what the american people did to us? the whole things we knew about america and other death-to-countries was the lies they told us in school books. so i started asking the people around me and of course nobody responded because they were all afraid to talk about this. but with the internet everything is changed. they can't lie to us anymore. and without doubt I can say the CP is one of the the best communities I've ever seen on the web. I appreciate the support of you all good people in the west :) best regards.

    The Lounge announcement

  • Reality check
    _ __erfan__

    and I'll be there to see it. thank you Eric.

    The Lounge announcement

  • Reality check
    _ __erfan__

    this is exactly the feeling that i have. after this years of fighting against the government and after all those nice people who have been killed I'm asking myself why doesn't anybody care?! maybe they don't believe in a better world. so they don't deserve to have it. some of my friends have been tortured. these f***ing animals raped the girls in prison and then you hear from the TV(gov) that these are exciters and people believe them!!! so i think this is a crazy crazy world.

    The Lounge announcement

  • Reality check
    _ __erfan__

    I am sorry if I was aggressive. and i realy respect you for fighting saddam. dave, this people are grown in dark an fear, specially their women. they know nothing about their human rights, most of them. in my country most people think someday some holy guy will come from the sky and free them of pain! this is what they are told since they were a baby and believe me its so hard to get away from this s**ty ideas when there is no freedom to talk or even think! so they think this is the truth, they should wait and live their miserable life. but not all of them are like this. I understand that you are mad about them (me too) but not all of them are like this. we had many people have been killed in last years trying to say that they don't want this and i were among that people. and I'm saying they deserve to have a normal life. "The guys over there now are fighting cowards who will not wear a uniform and who use women and children to carry bombs into market places." those creatures who do this things they are not human. a human can not do this.

    The Lounge announcement

  • Steve's death reminds us how mass/consumer IT is a young industry
    _ __erfan__

    he was a man full of new ideas. I am very grateful to him we will miss you Steve

    The Lounge html com tools

  • Reality check
    _ __erfan__

    its easy for you to say it Dave. I'm living in one of this f***ing countries. but I'm asking you, if this so easy for you to nuke a hole country and burn it to the ground then what is the differences between you and that f***ing taleban? you think you know something about pain? then I suggest you come and live in this s**thole that I am living in, just for a month and then talk about pain.

    The Lounge announcement

  • IDE
    _ __erfan__

    thank you for reply (after two years :-D ).

    Linux, Apache, MySQL, PHP linux c++ visual-studio

  • Intellisense
    _ __erfan__

    yeah you are right. i should better forget about it. hardware programming always has its pains :) I'm going to use MS visual studio. its the best IDE I've ever used. thanks for reply.:thumbsup:

    Windows API visual-studio help question hardware tutorial

  • Intellisense
    _ __erfan__

    yes i mean Auto Complete. as I've realized, this is not easy at all. the only way i have is to do my coding in another editor, and this is a pain too. thank you anyway.

    Windows API visual-studio help question hardware tutorial

  • Intellisense
    _ __erfan__

    I'm using IAR Embedded Workbench to write code for ARM devices. but i have a big problem: it doesn't has Intellisense:( so i was thinking about making a simple intellisense plugin for it. but I don't have any idea of how to do this and I don't even know where to ask this question! can any one help me with this? is it really hard to make an intellisense plugin for an IDE? i googled it but didn't find any useful resource.

    Windows API visual-studio help question hardware tutorial

  • taking a video from usb cam
    _ __erfan__

    do you have opencv installed on your system?

    if(no){install opencv;}

    add opencv include and source directories to your compiler setting and at the end add the libraries in your project setting

    C / C++ / MFC c++ help

  • problem in printing factorial.............
    _ __erfan__

    yes. sorry. :) the code has been edited.

    C / C++ / MFC help learning

  • problem in printing factorial.............
    _ __erfan__

    void main()
    {
    clrscr();
    int fact=1, counter=5;
    int term = 1;
    while(term <= counter)
    {
    fact = fact * term;
    term++;
    }
    printf("fact of %d is: %d", counter, fact);

     getch();
    

    }

    modified on Saturday, December 12, 2009 4:55 AM

    C / C++ / MFC help learning

  • opencv in codeblocks - compile error
    _ __erfan__

    anybody there ?! :doh:

    Linux, Apache, MySQL, PHP com linux help question

  • opencv in codeblocks - compile error
    _ __erfan__

    hi i am using codeblocks and i want to use opencv to capture video and image and ... . this is the program : //------------------------------------ #include < iostream > using namespace std; #include "cv.h" #include "highgui.h" int main() { IplImage* img; img = cvLoadImage("lena.bmp", 1); cvNamedWindow("window", 1); cvShowImage("window", img); cvWaitKey(0); cvDestroyWindow("window"); cvReleaseImage(&img); return 0; } //------------------------------------ but there is a compilation error : ../../../../../../usr/local/lib/libcxcore.so||undefined reference to `gzeof'| ../../../../../../usr/local/lib/libcxcore.so||undefined reference to `gzopen'| ../../../../../../usr/local/lib/libcxcore.so||undefined reference to `gzclose'| ../../../../../../usr/local/lib/libcxcore.so||undefined reference to `gzrewind'| ../../../../../../usr/local/lib/libcxcore.so||undefined reference to `gzgets'| ../../../../../../usr/local/lib/libcxcore.so||undefined reference to `gzputs'| ||=== Build finished: 6 errors, 0 warnings ===| i used this instructions to install the downloaded package : (OpenCV-2.0.0.tar.bz2) 1. tar -xjf OpenCV-2.0.0.tar.bz2 2. mkdir opencv.build 3. cd opencv.build 4a. cmake [] ../OpenCV-2.0.0 # CMake-way or 4b. ../OpenCV-2.0.0/configure [] # configure-way 5. make -j 2 6. sudo make install 7. sudo ldconfig # linux only and i set the codeblocks envierment parameters as is shown in this page : http://opencv.willowgarage.com/wiki/CodeBlocks any suggestion?!

    Linux, Apache, MySQL, PHP com linux help question

  • IDE
    _ __erfan__

    hi. I am new to linux. i've started using linux by installing ubuntu on my pc. and i am looking for an c++ IDE. waiting for your suggestions ... thank you

    Linux, Apache, MySQL, PHP linux c++ visual-studio

  • GDI+
    _ __erfan__

    thank you all.

    C / C++ / MFC graphics help winforms question

  • GDI+
    _ __erfan__

    thank you.

    C / C++ / MFC graphics help winforms question

  • GDI+
    _ __erfan__

    hi. i want to write an image processing program and i don't need to preview the image so i decided to use win32 console application to avoid any unwanted delays. i want to use GDI+ classes but there is a runtime error. my program :

    #include "stdafx.h"
    #include ;
    #include ;
    using namespace Gdiplus;
    int main()
    {
    Bitmap *bmp;
    bmp = new Bitmap(L"my image path");
    unsigned int w = bmp->GetWidth(); // the error occurs in this line

        // my process
        //...
    return 0;
    

    }

    the error : Unhandled exception at 0x00411761 in GdiPlusTest.exe: 0xC0000005: Access violation reading location 0x00000004. any help? thanks.

    C / C++ / MFC graphics help winforms 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