UNIX/Linux Programming - September 2011 (Page 3)

alternate to gcc
 
First of all, allow me to blatantly point out that I am a Linux / programming novice, and I sincerely want to thank you for your time spent reading my questions...
[4 replies] Last: C++ compilers have sometimes bugs, and reject valid C++ code, or accep... (by rapidcoder)
Reading a file with UCS2 (csv) data.
 
Hi , I am facing issue reading a file which contains comma seperated ucs2 data in it. I need a program which reads the file contents and split(tokenize) eac...
[1 reply] : I'm not a great expert in this and I don't know much about UCS-2 but i... (by Galik)
what is the difference between a linix...
 
Someone please tell me what the difference is between a linix based OS and a normal os like windows or mac. what category is windows and mac in?
[2 replies] Last: I I'm not mistaken, the Android OS or even China Alibaba own mobile OS... (by sohguanh)
Python, turning into executable via terminal
 
This page does not make any sense to me? I understand the fact that chmod +x helloworld.py makes it executable, but the second half of the page of "allowing it ...
[5 replies] Last: Yes you copied your file into a directory that is listed in the PATH ... (by Jimbot)
Multiple Definition of <'variable/function'>
 
I am trying to write a basic program with a candidate.h file, a candidate.cpp file, and a main.cpp file I declared a function void readCandidates() in my c...
[4 replies] Last: you could use extern in the .h (by ne555)
GNU Emac C++ Programming?? (1,2)
 
If it is possible? Can anybody give me a quick tutorial on how to write, compile, and run code using a GNU Emacs. I'm trying to get into Linux. Any help woul...
[27 replies] Last: Yes there is a windows version of vim, I do all of my C coding in Vim ... (by ascii)
Xcode Signal 11
 
Program has exited due to signal 11 (SIGSEGV). As I understand it, this error comes from a problem allocating memory, or from memory leaks...I am somewhat new t...
[no replies]
Why my program throws the error "Segmentation fault"?
 
The code: #include <iostream> #include <algorithm> #include <valarray> #include <iterator> using namespace std; int main() { int i;...
[5 replies] Last: Except when it won't. It usually doesn't. Are you using it correct... (by Moschops)
by HenriK
How to run C++ programs compiled on Windows on Linux?
 
Hello, this must've been the first time I have ever posted here, on this side of the forums. This is because I just got interesting in working with Linux. OK...
[5 replies] Last: Some libraries can be usen both in Window$ and Linux. For example Dire... (by eraggo)
add to limit of a recursive function ?
 
i am coding on a program and i have a recursive function but its stack overflows can i add to the limit of it ?
[3 replies] Last: Sometimes you can convert a recursive function into a loop... (by choisum)
I cannot read lines from std::cin one by one.
 
Hello, I have a "write" console application that generates strings and writes them to std::cout. Here it is: int main() { for(int i=0; i<5; i++) { cout <<...
[2 replies] Last: Thank you! It's the second time I've been burned by flush. (by vincegata)
Debugging memory leaks in Solaris10
 
I am using SunStudio 11 having C/C++ 5.8 compiler. There is a dbx debugger available as part of Sun Studio 11.. Is there any library to link it and debug is muc...
[1 reply] : As long as you use -g for compiling, the debugging symbols will be inc... (by kooth)
September 2011 Pages: 123
  Archived months: [aug2011] [oct2011]

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