Member Avatar
I hot the following program from the book 'C++ For Dummies' but have two questions about it. First I compiled the program but I'm afraid to run because the memery created from the heap does not appear to me to get de-allocated. Am I correct in not wanting to run …
by lewashby 14 in Software Development ()
Member Avatar
Consider the following code: The Above code when compiled with g++ compiles just fine and works well without any wanrings, while in gcc it gives the following warning: . Though the code works fine on running. This warning goes away when I change the macro to: . My Questions: 1. …
by tapananand 13 in Software Development ()
Member Avatar
Hi)I've been using Codeblocks for a long time;since I configured the Toolchain executables shortly after installing I had no problems with compiler;but now when I try to compile a program, codeblocks responds with a statements about wrong compiler path;when I try to run a program it responds with "Target uses …
by Glaxxterm in Software Development ()
Member Avatar
Hello How can we know which GCC version is compatiable with a given Python version ? Regards
by begueradj -1 in Software Development ()
Member Avatar
I am using the gcc compiler and I am new to using flags. Can any one tell me a source for it. e.g. I wanted to use -funroll-loops but I dont know the proper syntax. Can any one help.
by H_beginner in Software Development ()
Member Avatar
A complete C implementation of Linked List...tested on Linux GCC
by mayankjoin in Software Development ()
Member Avatar
This is more of a tale of "I think I broke it". Basically as an assignment for CS I have to write an assembler for a subset of the MIPS assembly language. Currently it is not working, getting a sigseg, so I decided to debug the code and step through …
by Labdabeta 182 in Software Development ()
Member Avatar
I tried to run the program, but it exits with error code 255. Using Dev CPP with MinGW. Pls Help!
by RounaqJJW in Software Development ()
Member Avatar
Hi! I use Linux Mint Maya and I need to install some software from sources but the problem is that GCC is not working. When I type gcc or make command I get a error like this: How can I fix that?
by last1devil in Linux and Unix ()
Member Avatar
Dear all, I am certainly not an expert in C++ development but after some time, I had some code running and compiling for a bio-informatics tool. As always in Science, I changed my area of research of a while and when I came back to my tool, I had changed …
by sbrohee in Software Development ()
Member Avatar
I don't know jack about Visual Studio, and I'd like to keep it that way because I like doing stuff on the command line, I have my preferences. But my teacher uses it to compile and I'm curious what I did wrong because gcc didn't throw anything. So, code (Without …
by dancks 4 in Software Development ()
Member Avatar
Pretty self explanatory code. Why doesn't it work! Thanks. I have a lot of knowledge gaps to fill... the gcc manual was confusing me with regards to inline assembly as was google results for tutorials... working on an intel i7 processor
by Enders_Game 13 in Software Development ()
Member Avatar
Alright, so I need some more help. This time, the problem is not inherently in the code (Though I've had trouble with that thus far too). I am currently playing around with open and close file dialogs trying to get what seems to be an out-dated "GetOpenFileName()" function to work. …
by Some Dude in Software Development ()
Member Avatar
Hello people of the DaniWebs! It's been a long time since I've been talking and asking here, under the name of katmai539. I've lost account information and also the email address linked to it. I haven't been active in the software development-branch for the past few years but recently I …
by ysmtek in Software Development ()
Member Avatar
Background, I want to install allegro on the iMac 10.6.8 after my macbook crapped out. It didn't compilers installed whatsoever, so I had to find Xcode at a seedy 3rd party site because apple no longer supports Xcode for 10.6. It came as a binary, simple install didn't give me …
by dancks 4 in Game Development ()
Member Avatar
Is there any standard function in gcc that is equivalent to getch() so that I can read the input without hitting enter key?
by niyasc -3 in Software Development ()
Member Avatar
Hi, I have a problem with a the imput of some data on a program Im making (FYI new in c++, homework). So basicly the progrma I have is to imput diferent type of data, this is what im doing. (Im using codeblock 8.02 in Ubuntu 10.04 ) Ok now …
by isaacjun16 in Software Development ()
Member Avatar
I'm trying to write an echo like thing doing this : > echo Muffins Muffinst > echo two muffins two muffins The problem Is that the program isn't being started from command line, The > is my programs input prompt (trying to write a very simple command line) How would …
by Zssffssz -4 in Software Development ()
Member Avatar
Hi, I'm having a major problem with passing GCC link flags in Xcode. I created a C program that creates and runs a neural network using the FANN library. When I compile this command line I use the command gcc main.c -o train_test -l fann to link the fann library …
by daryll1 in Software Development ()
Member Avatar
I've created a new class called BulletList2(linked list) using the built in dialog(File>New Class) which created a header file called bulletlist.h (in project folder>include) and a source file called bulletlist2.cpp(in project folder > src). header file ifndef BULLETLIST2_H define BULLETLIST2_H class BulletList2 { [...] } endif // BULLETLIST2_H In class …
by Epicurus 17 in Software Development ()
Member Avatar
Hi! I have recently started using linux and I was recommended gcc compiler. I have written a basic program just to see if it works. And it doesn't. I am trying to compile it with Terminal, and with the following command : gcc ~/Desktop/C++/test.cpp -o testing) My program it responds …
by Triarius in Software Development ()
Member Avatar
Hello altogether, I am supposed to work through a project written in C++ and QT for Windows platforms. Now I am not an expert in window-related stuff. I installed MinGW 3.4.5 and QTSDK on Win XP SP3. I am using the tool "qmake" to create a makefile with all dependecies …
by sDJh 39 in Software Development ()
Member Avatar
Hello! I am making a program which does many computations for a Photovoltaic system. The problem is that i get a strange segmentation fault error when I run the program. Here is where it crushes (at for-loop of calculation S5) : commands..... ... ... /******************** WIRING *******************************/ Ni = N_I/(Ns*Np); …
by babis87 in Software Development ()
Member Avatar
myuser@linux:~/Desktop$ gcc -nostdlib -Wl,-dynamic-linker,/home/myuser/Desktop/ld-linux-x86-64.so.2,-rpath,/home/myuser/Desktop libc.so.6 libgcc_s.so.1 simple.c myuser@linux:~/Desktop$ ldd a.out linux-vdso.so.1 => (0x00007fffbf5ff000) libc.so.6 => /home/myuser/Desktop/libc.so.6 (0x00007f308b7ae000) libgcc_s.so.1 => /home/myuser/Desktop/libgcc_s.so.1 (0x00007f308b598000) /home/myuser/Desktop/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f308bb11000) myuser@linux:~/Desktop$ Which ld is being used, the one on the Desktop or the one in /lib64 ? What options do I have to use so …
by raigs -1 in Software Development ()
Member Avatar
Hi, I can not create executable code by using a makefile.How can I generate the executable code.I wrote this lines into my makefile and in the terminal I wrote make but I can not do it.Please help me. myprog : myprog.o mylibrary.o gcc myprog.o mylibrary.o -o myprog myprog.o : myprog.c …
by virtue in Software Development ()
Member Avatar
Hi, I am trying to pass a string to a MACRO using -D option in gcc. I am not getting desired output, below is snippet, please let me know what I am missing. $ gcc -o finame -D CORE="op1_log.txt" finame.c define STR(x) x int main() { FILE *fp; }
by rajeevpareek in Software Development ()
Member Avatar
hi could anybody guide me how could i install latest version of GCC on my window 7 computer. thanx!
by jugadengg in Software Development ()
Member Avatar
Hi, I have prolly very noobish question. I compile my program separately with GCC by: gcc -O2 -Wall -c foo.c I just wat to ask if there is a chance to specify the output destination offoo.o file. Now the output is forwarded to the makefile dir. Thank you for your …
by yuri1969 in Software Development ()
Member Avatar
Hi, Can someone help me with the CURL library using GCC on Cygwin? I can't find anything in the documents that explain exactly how to compile with g++. For instance: g++ -I curl CurlSample.cpp gives me errors such as: /tmp/ccrXZUYr.o:CurlSample.cpp:(.text+0x17): undefined reference to `curl_easy init' I'm using gcc version 4.3.4 …
by JeremyJ in Software Development ()
Member Avatar
Hello all. I am having problems with compiling code on my Mac (OS X, 10.6.5). This started happening suddenly when I tried to (1) install f2c using g++, and then (2) compile code including f2c. Now I'm having problems compiling ALL code! I don't understand the error, and would really …
by Annettest in Software Development ()