GIDForums  

Go Back   GIDForums > Computer Programming Forums
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

C++ Forum

Welcome to the C++ forum.

Browse through the links below to find existing C++ programming language discussions - including source code examples, hints, tips, and tutorials. Example codes are syntax highlighted for your convenience.

If you have just registered or if this is your first time here, and if you wish to include example C++ code in your posts and messages, please surround your example codes in [cpp]...[/cpp] bbcode tags when you submit your messages. This will syntax highlight your CPP / C++ code examples within a post. Please refer to the details here.

Post New Thread
Threads in Forum : C++ Forum Forum Tools Search this Forum
  Rating Thread / Thread Starter Last Post Reverse Sort Order Replies Views
 
by WaltP
Guidelines for Posting Requests for Help version 3.1 GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
04-Jun-2011 17:11
by SoftwareNerds Go to last post
1 20,547
 
by gmcernst73
I am working on a homework and I am getting stocked. I need to create a function that reads for columns from a file. the function is set up in arrays for example int getVertexData (istrean & infile, double xy , double wind, double temp, int size); from the file i need to read this four values...
12-Jul-2012 07:06
by davekw7x Go to last post
1 226
Question
by andrewjrmill
I want to update my operating system with mouse and new icons and how to add more programs because all it is now is by pressing latters to open up stuff, i have this operating system that i made and i want to put icons on the desktop and i was wandering if anyone can tell me how to program open new...
08-Jul-2012 09:05
by Mexican Bob Go to last post
1 237
 
by mrexp21
Could someone explain how the below C++ code works? Code to determine mode . double mode (double numbers , int i) { int* Repetition = new int; for (int i = 0; i < n; ++i) { Repetition = 0;
03-Jul-2012 10:24
by Mexican Bob Go to last post
1 197
 
by CoryMore
I was thinking I had this one done. Apparently I was way off the mark. Below is the code I've ended up with, but I have in no way accomplished the project. Exhausted and fed up, will try to tackle again tomorrow. Project: Assume there are two input files for a payroll program. The first...
03-Jul-2012 10:20
by Mexican Bob Go to last post
3 211
 
by stbb24
I convert a color image into binary with this line of code cvtColor(img, src_gray, CV_RGB2GRAY); threshold(src_gray, dst, minThres, maxThres, CV_THRESH_BINARY); where minThresis 0 and maxThres 1 The output is a black image
20-Jun-2012 20:50
by stbb24 Go to last post
2 256
 
by stbb24
I have this function that displays the values of a binary image void accessPixel(Mat& img) { for (int i = 0; i < img.rows; i++) { for(int j = 0; j < img.cols; j++ ) {
17-Jun-2012 17:33
by stbb24 Go to last post
2 475
 
by stbb24
Can anyone give tips on how to divide an image into 8x8 blocks using opencv and c++?
14-Jun-2012 18:07
by davekw7x Go to last post
3 1,058
 
by stbb24
i"m trying to implement dct in a jpeg image. Mat hostImage = imread(argv, 1); Mat output; dct(hostImage, output, 0); namedWindow("DCT Image", CV_WINDOW_AUTOSIZE); cvMoveWindow("DCT Image", 60, 50);
14-Jun-2012 16:48
by stbb24 Go to last post
2 1,291
 
by MTW1989
I keep getting the above error code when trying to execute to following source code: #include <cstdlib> #include <iostream> #include <iomanip> using namespace std; void double areasquare(double& length);
14-Jun-2012 08:19
by faithword Go to last post
11 3,493
 
by singingsingh
can anyone please explain the outputs prog 1 : #include <iostream> using namespace std; const char* foo( ) { const char *s = "vikram";
05-Jun-2012 01:32
by singingsingh Go to last post
3 324
 
by casprandel
This is a basic sequential search of a randomly generated array. I keep getting errors on it. I want to get this working, then I will change the search to make it recursive for my actual assignment... one step at a time. I'm having quite a lot of problems with the class lately especially when it...
03-Jun-2012 17:41
by casprandel Go to last post
1 794
 
by stbb24
I'm trying to convert the second image argument (5.jpg) provided by the user into binary example: ./watermark 2.jpg 5.jpg Unfortunately my code returns an error OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cvtColor, file /build/buildd/opencv-2.3.1/modules/imgproc/src/color.cpp,...
02-Jun-2012 00:58
by stbb24 Go to last post
2 2,331
 
by stbb24
I want to adapt the c++ interface of Opencv but find it hard converting my codes from c to c++. Does anyone know the equivalent version of cvCreateImage in c++? Thanks
30-May-2012 21:18
by stbb24 Go to last post
8 1,199
 
by Amin
Hi.. I want to create a program using Dev which calculate the Least common multiple and the Greatest common divisor for three numbers. i did the GCD but can't get the LCM done.. plz help me..:(
30-May-2012 11:49
by davekw7x Go to last post
1 1,166
 
by singingsingh
#include <stdio.h> void f( char *a ) { ((int *)a) = 8; } int main() { int a = { {66,2,3},
30-May-2012 05:56
by Maximlis Go to last post
5 344
 
by MTW1989
n my C++ class my teacher has asked me to Modify the program you created in short assignment #2 to use functions. 1. Create and use at least three functions not counting main( ). At least one function must accept an argument or arguments. At least one function must return a value. This is the...
29-May-2012 17:47
by davekw7x Go to last post
15 845
 
by mrexp21
Hi , Help me to convert flowchart to pseudocode . Thanks Flowchart in PDF : http://www.4shared.com/office/FgnhUYgw/Project_Full_Flowchart.html
25-May-2012 11:31
by davekw7x Go to last post
1 596
 
by mrexp21
I have a file, 'date-list.txt' which has date in it. For example , 20 May 2012 . Now I want to compare this date with current system date and show the difference in days . How can i compare dates and shows difference in days in C++.? Im really a c++ beginner . So , if possible , please show and...
21-May-2012 07:04
by davekw7x Go to last post
1 221
 
by gtkimberly
hi all, Please help me in providing the details regarding important topics of C++. Which book gives the user friendly information.
14-May-2012 04:42
by gtkimberly Go to last post
2 253
 
by ais++
Hi... I'm having a problem with my code, I get a bunch of extra unnecessary numbers and in the end nothing is removed and the program crashes! void Functions::delRecord(vector<CarModel>& lst) { // Delete desired record lst.clear(); // Removes all elements from the list open(lst); // Loads...
10-May-2012 10:40
by davekw7x Go to last post
3 289
Post New Thread

Recent GIDBlogCompress Your Web Site by gidnetwork

Display Options Moderators
Showing threads 81 to 100 of 5251 Moderators : 1
Sorted By Sort Order
From The
LuciWiz  
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDApp · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 04:46.


vBulletin, Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.