473,322 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to remove error function 'capture' should have prototype in c++ ?

My error is function 'capture' should have prototype in c++ ?
Mar 13 '14 #1
1 1594
Nepomuk
3,112 Expert 2GB
Hi RajniRamShinde and welcome to bytes.com!

Do you know what a prototype is? If not first of all you should check out the wikipedia article on function prototypes. Basically it is a function definition which shows the signature; in C/C++ these are often in header files though they don't have to be.

Once you've understood that, you can create your own prototype for capture before it is ever used or defined. What this will look like depends on your function capture. If you have problems writing it, post the signature of your function (normally the first line of the function) and we'll help you write the prototype.
Mar 13 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Karen | last post by:
I am trying to use VC++ 2003 .NET to add the OnQueryEndSession event handler to an MFC Dialog program using the Messages button of the Dialog properties window. I keep getting the message, Add/Remove...
5
by: Ron St-Pierre | last post by:
I found this error in /var/log/messages yesterday after a cron job wouldn't complete: STATEMENT: ALTER TABLE victoria.eodData DROP COLUMN tickDate; ERROR: tables can have at most 1600 columns...
5
by: Daz | last post by:
Hi everyone. My query is very straight forward (I think). What's the difference between someFunc.blah = function(){ ; } and
3
by: gg9h0st | last post by:
function aa() {}; var bb = new aa(); var dd = new function cc() {}; aa.prototype.rr = 100; cc.prototype.rr = 100; ---------------------------------------------------------------
1
by: urkel | last post by:
Hi everyone, I critically need help to solve this problem related to pointer in C++ Basically, I have a C/C++ program "retardselfenerg" calling a Fortran 90 subroutine "surfGF4.f90". i am so...
10
by: sicba2222 | last post by:
Hi all, I am new to C++...I tried to compile the following program... #include<iostream.h> #include<conio.h> #include<string> #include<stdio.h> int main() {
3
by: swapnali143 | last post by:
Can anybody tell me how to fix an error "GETLINE should have a prototype when i run following code under TC environment #include<iostream.h> #include<conio.h> #include<fstream.h>...
10
by: iqbalbd | last post by:
I have a problem. function should have a proto type. any body help me.. #include<stdio.h> #include<string.h> main() { char arr; printf("Enter a string to reverse\n");
1
by: cksb97 | last post by:
#include<iostream.h> #include<conio.h> int main() { setcolor(BLUE); setbkcolor(yellow); cout<<"the text in blue colour with yelow background"; getch(); return 0; }
5
by: surendraringwal | last post by:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package data; import java.sql.*; class Data {
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.