UNIX/Linux Programming - January 2011

by tyr74
cisco anyconnect client api compile problems
 
Hi, i try to compile die vpnapi example from the cisco anyconnect client api 2.5 i use debian lenny to compile but have several problems here are the fil...
[no replies]
Getting links of HTML page
 
Hi everybody. I wanna create a "spider program". This program get all links of a HTML page. Can I use the libCurl to make this ? If I can, can anyone help-m...
[10 replies] Last: Nope regex.h is standardized: http://pubs.opengroup.org/onlinepubs/007... (by rocketboy9000)
by biker
Linux USB read/write
 
Hello, I'm trying to create code that sends and receives characters on USB port. I two days searching in google, but without result. can anybody has example ab...
[2 replies] Last: Oh, here is a good site for specs and stuff about usb (they have seria... (by cran)
by fafner
g++ segfaults
 
Ok, I'm experiencing something really weird here. I'm trying my hands on this ai-tutorial: http://www.ai-programming.com/bot_tutorial.htm/#intro I've defi...
[3 replies] Last: Initialisation of class array members is always an issue. They canno... (by guestgulkan)
Visual Studio C++ Express 2010 for Linux?
 
Hi folks, I'm been learning C++ for a few weeks now and have been programming very small apps that I have successfully managed to run in a flavour of Windows...
[6 replies] Last: To cross-compile GUI between windows/Linux I use wxWidgets (http://www... (by tition)
Why I am getting linking error:
 
class Singleton { private: static Singleton* _SInstance; public: Singleton(){} static void _GetInstance() { _SInstance = new Single...
[3 replies] Last: put the constructor under private. Otherwise there is no point in maki... (by suhastheju)
Which GUI to use???
 
Which GUI API is -easy to learn -preferably portable, otherwise suitable for Linux -has well explained and comprehensive documentation/tutorials -has a dece...
[8 replies] Last: Use GTK+, There is lot of support and documentation available. (by suhastheju)
by aatwo
Way to create and set permissions for folders
 
Hey guys. I am running a program in Ubuntu and on start up I need to make sure certain files/folders exist before continuing. Currently I am using the follow...
[2 replies] Last: the UNIX concept of permissions are not cross platform anyway. anyh... (by bigearsbilly)
[edit] how to make autorun shell scipt?
 
Hello all I just wondering if there is actually a way to execute a C file without calling it's file name for example if i want to execute a C file called test...
[11 replies] Last: man bash look at the login part. There are scripts that run when you ... (by bigearsbilly)
Process v/s Threads
 
Hi all, I have a vague query. I have a shared library which is used by my server program. Whenever a new request arrives, I create a new thread to do task. S...
[8 replies] Last: the perceived wisdom is that threads are faster and more efficient tha... (by bigearsbilly)
FILE object in C/C++
 
hi all, I spent a long time to study Stream in C/C++. and as i know, FILE is a object to control a Stream. There are many different define of FILE, one of...
[3 replies] Last: On Unix it is, yes. But that's not generally true. (by kbw)
C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)
 
Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got starte...
[1 reply] : What is errno? (by jsmith)
by GnG
C++ insmod
 
Hi, I need some help to do a program that execute the insmod command and get the output. I'm doing something like that: string insmod = "insmod myModul...
[1 reply] : Resolved, I redirected th stderr of isnmod to a file..then I read i... (by GnG)
How to make your code GUI-PROOF
 
Hey, I'm getting to the point where I'm confident in my code... or will be very confident in my code. I haven't learned any GUIs yet, but I do plan so in the...
[1 reply] : If you put all of the basic parts into separate functions, then using ... (by cran)
by tap3ah
problem with gcc linker
 
hi I'm trying to compile an example from Stevens' apue book. #include "apue.h" #include <dirent.h> int main(int argc,char *argv ){ DIR *dp; struct ...
[2 replies] Last: OK, I figured it out. There are 2 things I misunderstood about -L swit... (by tap3ah)
c++ and vector on UNIX problem
 
my code is simply here #include <iostream> #include <vector> using namespace std; int main (int argc, char * argv ) { vector<int> v(10); re...
[3 replies] Last: You might try installing the GCC package for Solaris 8 from sunfreewar... (by PanGalactic)
by aatwo
Double click program to run in new console window - halp :)
 
Hey guys. I have several servers running on my Ubuntu 10.10 machine but occasionally I need to check the status of them which takes ages because the commands...
[2 replies] Last: Thanks for the reply. I shall investigate (never written a shell scrip... (by aatwo)
winhttp.h for Mac
 
I am porting a Windows C++ program to Mac. What should I use instead of winhttp.h for HTTP queries? Thanks
[7 replies] Last: I am still in the crazy period and I am not sure if I ever get to the ... (by silliksaar)
by quaky
Weird Stream Server Output
 
After making a simple stream server, I tried to make a client for the server. At first I just used a telnet client(why reinvent the wheel?), but then I wanted a...
[2 replies] Last: continued.. Output from client: Writing was successful. Now... (by quaky)
by z99
c++ socket programming,chat server
 
my first post, hi every one,i just start to learn socket programming with c++,i'm new, so i start with a chat server and client, A: my first question is abo...
[7 replies] Last: thank you softweyr, your answer is really helpful,and yet another que... (by z99)
January 2011 Pages: 123
  Archived months: [dec2010] [feb2011]

This is an archived page. To post a new message, go to the current page.