Programming :: IDE Features: Function Declaration In Info Bubbles?
Jun 3, 2009
I can't remember what it's called, but this feature of VC++ basically catalogs all the functions of a project, lets you right click on a function and go directly to it's declaration or definition, do not pass go, do not collect 200 dollars. it also gives you an info bubble of the variable types as you're typing a function's name.
this is a very convenient feature, and I'd like to use it with KDevelop, or really any full C++ IDE for linux. does such a thing exist?
View 1 Replies
ADVERTISEMENT
Feb 11, 2009
I have the plugin installed ok and have pasted in a C source file that I know works and am getting the following errors, I think because the linker options need to be set in some way. I cannot copy the errors but they all complain of implicit declaration of functions like this: -
warning: implicit declaration of function strlen
But I have the headers included, is this a linker problem? Here is the code -
#include <stdio.h>
#include <math.h>
int main(){
[code]...
View 2 Replies
View Related
Jul 7, 2010
I am trying to install this vpn thing for school (I need to access some of my info). I seem to get to the installation part somehow but I keep getting this message
Making module
make -C /lib/modules/2.6.31-17-generic/build SUBDIRS=/home/mblack3/Desktop/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-17-generic'
CC [M] /home/mblack3/Desktop/vpnclient/linuxcniapi.o
/home/mblack3/Desktop/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory .....
View 1 Replies
View Related
Jan 8, 2010
I am running Fedora 12 with clean install. last updated 1/8/10 AM.Trying to install chkrootkit I get the following when running "make sense":
gcc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
gcc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
chkwtmp.c: In function �main�:
chkwtmp.c:95: warning: incompatible implicit declaration of built-in function �exit�
[code]....
View 4 Replies
View Related
Dec 25, 2010
Cannot compile? warning: incompatible implicit declaration of built-in function "printf" I have build-essential.
View 5 Replies
View Related
Dec 28, 2010
I am trying to include a QWebView widget in my application. Every time I try to compile it, I just get these errors:
Code:
$ LANG=en_US make
g++ -c -pipe -O2 -march=i486 -mtune=i686 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -
[code].....
View 1 Replies
View Related
Jul 26, 2010
Whats the practical diffrens between these declarations in c?
char *a_str = "hello";
char a_str[] = "hello";
View 4 Replies
View Related
Nov 25, 2010
I made 2 files which are different from the program above one is temp1.h and another is temp2.c to understand how extern is used. So here is temp1.h
Code:
#include<stdlib.h>
typedef struct node * bond;
extern int jk;
and temp2.c is
Code:
#include<stdio.h>
#include<temp1.h>
struct node {
int data;
[code]...
I had declared jk in temp1.h as an extern int so why can I not initialize it in temp2.c?
View 5 Replies
View Related
Jan 18, 2011
Why do I still get mutiple definition of "_my_variable" error even after I used the #ifndef preprocessor in my hpp file?
This is my scenario
I have:
1. A.cpp (including X.hpp)
2. B.cpp (including X.hpp)
3. X.hpp
[Code]...
View 4 Replies
View Related
Nov 16, 2010
Code:
#include <iostream>
using namespace std;
[code]...
View 1 Replies
View Related
May 18, 2010
I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.
View 2 Replies
View Related
Jan 26, 2010
I'm used to write simple programs on codeblock which run on consle. i.e.console applications. When I try to compile programs which need graphic features, I get stuck as many libraries 9especially header files) are not in MINGW/include folder so I have to search on the net and add those files into include. My question is, by default, to enable graphics features on code block which "folder" should I download and incorporate it into codeblock? I tried to follow examples on glut, opengl, that is you have to download glut and add it somewhere on codeblock. Now I just want to have graphics functionality especially which need graphics.h file, searched on the net and find that sometime you have to download BGI, sometimes you have to download SDL, etc.
I hope you get the picture of what I'm trying to understand, it seems that by default codeblock doesn't come with graphic functionality e.g.graphics.h file, now what shall I download, and where do I add it so that I can draw graphs etc on codeblock. [codeblock has /include folder in C: Program FilesCodeBlocksMinGWinclude], now whenever I download new feature e.g. glut has its own version of include, lib folders etc. Is it necessary to add those include, lib on inlude, lib of C:Program FilesCodeBlocksMinGW? or it should work on its own original path? suppose I download glut on C:Program FilesCodeBlocksGlut. Now, what folder should I download to have graphics on codeblock?...
View 1 Replies
View Related
Feb 4, 2010
Can any one point out links to some small projects w.r.t C++ ? Now when I say small projects. It doesn't mean building a calculator or matrix multiplication programs, nor does it mean building games, nor does it mean dealing with databases,
What I actually want is to use the advanced features of C++ like:
i.Templates
ii. Nested friends
iii.Virtual functions
iv. Operator overloading (not merely '+', '-') but '[', '<<' also
View 4 Replies
View Related
May 24, 2010
I want to declare a function in a function, but had no success till now, see the error code below and visit the project at sourceforge
[Code]...
View 14 Replies
View Related
Jun 20, 2010
I looked on the net for such function or example and didin't find anything, thus after having made one i guess it would be legitimate to drop it to see what others thinks of it.
#!/bin/bash
addelementtoarray()
{
local arrayname=$1
[code]....
View 10 Replies
View Related
Jul 16, 2010
I need to have a global variable PHP Code: volatile sig_atomic_t int Terminazione=0; but I get the error error: two or more data types in declaration specifier even if I have included signal.h.
View 2 Replies
View Related
Sep 16, 2010
fit a surface i.e. W(x,y) using svdfit() provided by "Numerical Recipes in C". svdfit() is written for curve fitting and not for surface fitting.But one can use svdfit(), as claimed by authors of NR book, to do surface fitting. On page 680 of NR book, authors have given a hint on how to use svdfit() for fitting a surface. But I have not understood it.This link may be helpful (Chapter 15 th is relevant here.):[URL]This is my problem:
Code:
I have a set of 100 numbers. I want to fit a 2-Dimensional function W(x,y) to these numbers.
[code]....
View 2 Replies
View Related
May 27, 2011
Chat notifications on Pidgin and Empathy, for when I receive a message from someone while the chat is minimized, are slow. They could say "Hello there" "How was your day?" "For me, it was good" (Three messages in a row). I open my conversation after the last message was sent. I see a bubble that says "How was your day?" then another that says "For me, it was good".. But I already had the Conversation opened.
View 1 Replies
View Related
Jul 25, 2010
When I hover over the menus in the CentOS toolbar then always tooltips/bubbles appear after a second.How can I disable them permanently?
View 3 Replies
View Related
Jun 22, 2010
I just noticed that rhythmbox isn't showing the nice libnotify popups on song change. I use the next/prev buttons on my multimedia keyboard, but I can't see what I'm listening to anymore.I can't find the option to enable or disable this feature.how I can resolve this?
View 3 Replies
View Related
Dec 7, 2010
I was expecting that notify-OSD bubbles behavior to bring the app displaying the notification, when you click on them. But in my case, when the mouse pointer enters the bubble, it fades out a little, and when I click on it, nothing happens.
Is that normal? Why doesn't a click bring the related app to front?
View 4 Replies
View Related
Jul 22, 2011
I am very new to Linux and am taking a class on Introduction to Linux, but I am not familiar with Command Script. Can anyone direct me to a place where I can find more info (for a two year old) on command script programming? I want to be able to understand what it all means.
View 7 Replies
View Related
Jan 16, 2011
how to work properly on the windows forms application in c++.
the thing is that i was able to produce in the windows forms application a web browser and I added a save button. So know I am able to navigate predeclared webpages such as [URL]and then I entered google's search box such as "spread of H1N1". and I surf a page such as [URL] I later save the page as text file on my computer.
I wanted to know how to organize the words in the text file ? i mean how can i just get the number of infected people in USA , number of infected in CANADA (if they exist) from all the text file and change it to a file with precise data.that is to eliminate the unneeded information such as the the characteristics and the useless ideas? and what if i also wanted to know the characteristics of the virus in a country+the number of infected?. How can i do it?
View 3 Replies
View Related
May 26, 2010
I want to get system info like up time, no of process etc. for up time i got the got from net but it is giving me error. i.e.
error:
Following is the code i m using
Code:
Whats wrong with the code?
View 2 Replies
View Related
Jun 23, 2010
I want to get info about network interfaces in C , is there any library for this purpose ?
View 1 Replies
View Related
Dec 30, 2008
I want to implement a cross layer approach. I want to pass the network information such as delay from the MAC layer to Network layer. Can you tell me the way I am new to this. I am using linux (fedora). I think some system call will do the trick. Correct me if I am wrong. (I want to implement QoS matrices)
View 1 Replies
View Related
Jan 11, 2011
I'm doing this manually, as I'm at work, and if I spent 2 days trying to figure out a script to do this they'd maybe take it as me not working and instead messing around. However what I want to do is pull the:
Contact name, Company Name, Address, City, County, Postcode and email from the whois info for a list of about 400 domains we own.
I think I need some kind of combination of dig, sed and awk to pull the info, then filter out the parts I need, however I've never done anything like this before so I need some advice on where to start.
I'm not looking for a full bolown solution, I already have the list of domains so I think it will be something like:
Code:
for x in {list of domains}{
dig x;
somehow grab name, company name, address,
write to file in csv
}
Am I looking at this in the right way, can someone get me started? Is it sed/awk I need or is there another too.
View 2 Replies
View Related
Aug 6, 2010
so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).
View 9 Replies
View Related
Oct 21, 2010
I am developing an application whose executable is generated inside a certain folder hierarchy (say: /DevPath/MyProject/bin). My source code is located in a different branch of this hierarchy (say: /DevPath/MyProject/src). When my app crashes, its core files are stored in /DevPath/MyProject. I'm developing the app on a pc, but running it on a separate platform in which i can only execute it. Folder hierarchy is the same as above on both computers. Usually, when a new executable version is ready, we update both the executable and the source code on the target platform, transferring all the new /DevPath/MyProject folder on it. But sometimes it can really be a bother, so we update only the executable.
1)In the case we only update the executable, keeping an old source code version, and the app generates a core file, can i trust the backtrace produced by gdb in this case? I.e., does gdb need the latest source code files or it just needs the debugging information?
2) (More radical question ) Do i really need to keep the source code on the target platform for core dump analysis or i just need the executable?
View 1 Replies
View Related
Aug 25, 2010
I'm a linux newbie and scripting novice and I'm trying to pull auditing info and dump it into a file. I made some login changes so it would get audited but I don't want to have to sift through the log to see who the user was and what was done. This is what I have below here and I can't seem to get it to extract the info want using the event id. The "ausearch -a $10" from the script should get it from the 10th column but it's not working.If I can get this to work I would like to add additional aureport options.
#!/bin/bash
yyyy=`date "+%Y"`
mm=`date "+%m"`
[code]...
View 6 Replies
View Related