tarmizi_adam2005's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Active Members
Active Posts:
60 (0.04 per day)
Joined:
18-April 09
Profile Views:
1,893
Last Active:
User is offline Feb 19 2013 09:22 AM
Currently:
Offline

Previous Fields

Country:
MY
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   tarmizi_adam2005 has not set their status

Posts I've Made

  1. In Topic: writing a function

    Posted 14 Feb 2013

    Did you try anything ?
  2. In Topic: vectors in c++

    Posted 14 Feb 2013

    Hi, farzanakhawja

    I saw your code, you seem to have many syntax errors there,

    The code should be something like this.

    #include <iostream>
    #include <vector> //include the vector library
    
    using namespace std;
    
    
    int main()
    {
        vector<int>myVector;
    
        myVector.push_back(2);
        myVector.push_back(7);
        myVector.push_back(7);
    
    
    
        //vector<int>mybector;
    
    
        for(int i=0; i<myVector.size(); i++) // to use the size member function. use myVector.size()
    
        {
            cout << myVector[i];
        }
    
    
    
        return 0;
    }
    



    The code will output the numbers u stored in the vector. For the user to input a number and store them in the vector try out the code pointed by jjl. The "For Loop" here is to iterate trough the vector. While the "For Loop" in jjl's code is to enable the user to input 10 different numbers into the vector. Hope this helps :)
  3. In Topic: Image Processing: Gamma Correction

    Posted 11 Jan 2012

    Thanks for replying tlhIn`toq,actually i'm really new to C#, let me figure it out first...i'm a little busy right now...
  4. In Topic: Image Processing: Gamma Correction

    Posted 10 Jan 2012

    View PosttlhIn`toq, on 10 January 2012 - 09:16 AM, said:

    View PosttlhIn`toq, on 09 January 2012 - 11:42 AM, said:

    So here is my question: What are the values in the array? Can you take a screenshot of the Locals pallet showing the start of these arrays?


    Sorry for not understanding your question, but what do you mean by "screenshot of local pallet showing start of the array" ? is it the screen shot of what happens to the image when i apply the function ?
  5. In Topic: Image Processing: Gamma Correction

    Posted 9 Jan 2012

    View PostKilorn, on 09 January 2012 - 08:13 PM, said:

    Something I noticed immediately is that the parameter for the blue that you are passing in is named 'B', and you also have an int declared as 'B'. This can cause some confusion when reading your code. Since you have the other parameters as lowercase letters, I'd suggest switching that one to a lowercase 'b' as well just for consistency and readability.



    hmm... thats weird... i directly copy pasted the code from MSVS 2010.. In the compiler its 'b' instead of 'B'...i've try to edit it here but it still displays 'B'...btw maybe that can just be ignored for now...

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Interests:
My main interest is in the area of Digital Signal Processing with emphasis in Wavelet transform applications in speech recognition/processing. I do research in these topics. Thank you !
Years Programming:
5
Programming Languages:
5 years of programming but with some gaps in between. Thus, im not any expert ! Tough, i have some knowldege in C/C++, a little VB.Net and C#. Then uh well, for my research i use MATLAB

Contact Information

E-mail:
Click here to e-mail me

Friends

tarmizi_adam2005 hasn't added any friends yet.

Comments

tarmizi_adam2005 has no profile comments yet. Why not say hello?