tarmizi_adam2005's Profile
Reputation: 1
Apprentice
- Group:
- Active Members
- Active Posts:
- 60 (0.04 per day)
- Joined:
- 18-April 09
- Profile Views:
- 1,893
- Last Active:
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
-
raghav.nagana... 
20 Feb 2013 - 02:30 -
Eitxor 
11 Dec 2011 - 14:06 -
brep 
03 Dec 2011 - 12:03 -
modi123_1 
06 Oct 2011 - 06:46 -
macosxnerd101 
18 Jul 2011 - 17:50
Posts I've Made
-
In Topic: writing a function
Posted 14 Feb 2013
Did you try anything ? -
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
-
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... -
In Topic: Image Processing: Gamma Correction
Posted 10 Jan 2012
-
In Topic: Image Processing: Gamma Correction
Posted 9 Jan 2012
Kilorn, 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.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
tarmizi_adam2005 has no profile comments yet. Why not say hello?