UNIX/Linux Programming - October 2011 (Page 2)

Counting the number of lines containing real numbers
 
Hi there,I need a grep command that would search a file and return lines that ONLY contain numbers. ...
[1 reply] : grep ^[0-9] filename ? Should this not be on http://www.linuxforums... (by strongdrink)
Is there a Linux/UNIX API or something similar?
 
I've been studying C++ for a while now, and I am pretty well-versed in the idea of OOP and how to pr...
[4 replies] Last: SFML has sound capabilities http://sfml-dev.org/tutorials/1.6/start-li... (by strongdrink)
Another Pointer Question...
 
Ok, so I am still trying to get a grasp on the pointers and references...here is my latest quandary:...
[4 replies] Last: Not learning how to use pointers and references is like trying to play... (by ciphermagi)
Getting the size of a micro SD card.
 
I am looking for some function that will return the total capacity of my micro SD card mounted to /d...
[1 reply] : http://www.forevergeek.com/2005/10/check_disk_space_in_linux/ (by modoran)
Why it prints 2 times?
 
#include<stdio.h> #include<string.h> #include <ctype.h> void esvaziar(char *frase) { int ...
[5 replies] Last: No it's portuguese (by josecolella)
how to learn Unix/Linux command
 
I want to learn the most commonly used Unix/Linux commands. For example, to use "grep" to list all l...
[4 replies] Last: This is a comprehensive guide to the most common commands: http://sour... (by TinkerTantrum)
How to calculate eigenvalues of a matrix
 
Hi everybody I want to calculate spectral radius of matrix A, which is in a two dimension array. ...
[4 replies] Last: Sorry for replying late. I forgot to subscribe on this topic. In past... (by nimacasino)
statvfs
 
#include <sys/statvfs.h> #include <iostream> using namespace std; int main() { int rv; c...
[no replies]
C/C++ API in solaris to get memory info
 
Hii everyone, I am looking for a c/c++ API in Solaris, which can take a process-id as an argument...
[no replies]
Steps to 3D games using c++
 
Hello Hi guys. Ok getting to the point -> I need help. I would like to create a chess game with 3...
[4 replies] Last: good luck, game programming is rated the hardest type of program to bu... (by strongdrink)
by Felix
How to use cvCvtColor (opencv)?
 
Hello all, I am a new user of "opencv" library, and I would be more than happy to receive help in...
[no replies]
by php
script problem
 
#include<stdio.h> #include<string.h> #include<iostream> using namespace std; int main() { char...
[5 replies] Last: Since you're using C++, try std::string and it's respective functions.... (by moorecm)
by zChops
Stop endless loop in terminal
 
Hello I am just learning loops in my c++ class. I wrote a program that loops a random math problem...
[4 replies] Last: Maybe ctrl+z? (by isnork)
IDE and Compiler for Ubuntu
 
I've recently upgraded so that I run Ubuntu and Windows 7 as a dual boot; but I've come across somet...
[8 replies] Last: Oh yeah, I forgot another popular C++ *nix IDE called "Anjuta". Also ... (by rmsharkey)
by Wandy
segmentation error
 
Hello,I am new to C in Linux/ubuntu. I write a fragment with segmentation error.I can't find the poi...
[7 replies] Last: Do some research on "GDB" - GNU Debugger. It would point you to the ex... (by strongdrink)
Inp32
 
Early in my code I have this: #define Inp32 inb Then I have this: /*trap the clock line*/ d...
[1 reply] : the binary value of decimal 32 is b'100000'. Now whatever value e cont... (by johny10151981)
boost signal handling
 
Hi, I am newbie to boost c++ world. For portability sake, I am planning to use boost libraries on...
[1 reply] : Don't take this as correct, because it's only based on a vague memory ... (by kev82)
Errors linking wxWidgets 2.8.12 in Lubuntu 11.10
 
Hey everyone, I know this isn't a wxWidgets 'forum', but their forums take forever to 'approve' a...
[2 replies] Last: Hey Eric, Thanks for replying. The line `wx-config --libs`makes the ... (by chisser98)
fstream
 
Hello ! I've got a question. I've made a program(to find out the greatest common divisor)in which...
[2 replies] Last: No,I've made the program and if I compile it like I usually do : g++ -... (by PlusPower)
I'm having issues with understanding fork()
 
I am programming on a Linux using the g++ compiler. I under stand that the syntax for fork goes at ...
[2 replies] Last: you cannot give it a process to fork, it can only fork the process who... (by EricDu)
October 2011 Pages: 1234
  Archived months: [sep2011] [nov2011]

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