80 Topics

Member Avatar for
Member Avatar for mailgtauqeer

You can use and assemble with MASM611 very easily in Notepad++. Ihave find a very nice customization of Notepad++ on a blog. You can find it at [URL="http://easymasm.blogspot.com/"]http://easymasm.blogspot.com/[/URL]

Member Avatar for mailgtauqeer
0
417
Member Avatar for SnarkysXe

The error is: class, interface, or enum expected. I've never seen or heard of this error before surprisingly, and I've written all of my code the same way, so I'm not too sure what's wrong with. I've put red arrows around the lines in question. Thanks in advance! [CODE]/* Hangman …

Member Avatar for NormR1
0
244
Member Avatar for fkrafi

I can compile following code using "cl A.cpp" but i want to compile with an input file A.in and generate output file A.out.. is there any why to do that from cmd.... [B]A.cpp[/B] [CODE] #include<stdio.h> int main(){ int n; while( scanf("%d", &n) ){ if( !n )break; printf("%d\n", n); } return …

Member Avatar for WaltP
0
228
Member Avatar for TheComputerGuy

So when I compile, everything will compile just fine. When I go to run the program, I get this error [CODE]Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 at ClientForNoDupCollection.main(ClientForNoDupCollection.java:20)[/CODE] I go to look at line 20(actually 19-21) [CODE]public static void main(String args[]) { File file = new File(args[0]); Scanner cReader = …

Member Avatar for masijade
0
194
Member Avatar for Triarius

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 :[CODE]gcc ~/Desktop/C++/test.cpp -o testing)[/CODE] My program it responds with: …

Member Avatar for Triarius
0
296
Member Avatar for SpyrosMet

Hello there everyone, I have been thinking about developing for iPhone and iPad but I don't own a Mac, so I downloaded an installed JEdit on windows 7 to develop in Objective C. I downloaded a few sample codes and I tried to run them but I don't know how …

0
94
Member Avatar for george61

Here is code for hexagonal and pentagonal numbers. I need type that stores something bigger than 10 billion. Double works fine to about 8.4 billion. Of course I tried using long long and unsigned long long but it's still not working. Please repair this code because it overflows now matter …

Member Avatar for iammirko
0
360
Member Avatar for SMITA6076

I'm getting errors when I try to compile this code: [CODE]public class EmployeePayRoll { /*** Class Constants ***/ /*** Defaults ***/ public static final String DEFAULT_EMPLOYEE_NAME = "Employee"; public static final double DEFAULT_PAY_RATE = 10.00; public static final double DEFAULT_HOURS_WORKED = 40.0; /*** Minimums/Maximums ***/ public static final double MINIMUM_PAY_RATE …

Member Avatar for jon.kiparsky
0
289
Member Avatar for cjjm0202

I wrote this code for class. It compiles fine, but I get errors when it is ran. What could be the problem, and what is the solution? [CODE]import java.util.*; public class Lab3 { public static void main(String[] args) { // variables String name1= "Phones"; String name2 = "Laptops"; String name3 …

Member Avatar for cjjm0202
0
237
Member Avatar for neorahav

Hi, I develop application for Windows Server 2003. I usually build my code in Visual C++ 6.0 in Windows Server 2003. Is there any way to build the same code using VC++ 6.0 in Windows XP. Can anybody please tell me what configuration changes i have to do. Thank you.

0
162
Member Avatar for kingofdrew

I want in java applet if a user clicks on a rectangle another one is draw. [CODE]import javax.swing.; import java.awt.; import java.awt.event.*; public class stuff extends JApplet { public void paint(Graphics g) { super.paint(g); g.drawRect(40, 40, 200, 200); if(g.isSelected()) { g.drawRect(20, 20, 50, 50); } } }[/CODE]

0
96
Member Avatar for Mayank23

i just downloaded qt and i dont know how to build in qt, it keeps saying: Could not find make command: mingw32-make.exe in the build environment Error while building project case (target: Desktop) When executing build step 'Make' Could not find make command: mingw32-make.exe in the build environment Error while …

Member Avatar for bramsever
0
559
Member Avatar for petero_l

Hello it is my first time here and I just started C++ so hopefully my question isn't too dumb or anything: I was writing this thing that can do geometric series and arithmetic series. I can write the geometric series code alright and the arithmetic series code alright but once …

Member Avatar for petero_l
0
249
Member Avatar for QuesoTaco

Nevermind, I wanted to delete this post, but did not want to bother emailing the moderator. Sorry.

Member Avatar for QuesoTaco
0
327
Member Avatar for CobRalf

Hello everybody!! I know that the topic "compiling python script" is a very popular topic, and there are informations about it everywhere on the net. I use windows and want to make a .exe-executable My problem: Everything I found... * is to old * does not work (exe has an …

Member Avatar for tendragons
0
366
Member Avatar for dreamer_lek91

[B]how can i disable the save function. The database that I am making now is being shared by many users and i do not want them to mess up with my design and programming stuff that i had done. I have tried making the file into ACCDE format but it …

Member Avatar for boblarson
0
183
Member Avatar for nxt200

Hello DaniWeb Software Developers :D I have a problem which exceed my programing capabilities and i need your help! Problem: I am somewhat new to c++ and i have been making some useful console applications in windows GUI visual Express. I thought i would give building in Linux a try …

Member Avatar for Narue
0
180
Member Avatar for Annettest

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 …

0
92
Member Avatar for Annettest

Hello everyone. 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 …

0
106
Member Avatar for hero0765

hi: I have a trouble on the codes below, if I were to insert string n into the following string "Constructing student" ,the compile would appear error C2679. I don't know where any error the code have. error C2679: binary '<<' : no operator defined which takes a right-hand operand …

Member Avatar for Ancient Dragon
0
178
Member Avatar for neti1987

hi! I'm looking for things which compile on visual-studio, but not in the gcc compiler in the C programming language (C++ it's ok too). I have to make list of such things. If someone could send me link to such list or send me some examples, it will be great! …

Member Avatar for Ancient Dragon
0
120
Member Avatar for Garrett2011

considering visual C++ compiler, Lets say I've got a file with whatever extension and it contains 100 bytes of data which are exactly the data that I want to initialize an array of char data type with a length of 100 characters with, Now apparently one way is to read …

0
149
Member Avatar for civus

Hi Guys, I'm wondering if someone can help me out with a problem I've been having with VC++. I'm obviously just beginning to learn C++ and have been working with CodeBlocks and VC++ 2010 Express. My problem is that the following code compiles in CodeBlocks but gives me numerous errors …

Member Avatar for civus
0
260
Member Avatar for willgr

I have developed a C++ CGI which runs fine on Apache on Win32. I would like to deploy the program onto linux. My plan is to install Wubi (i.e. Ubuntu) and compile the CGI there so that it will work on the linux server. But before I do, I need …

Member Avatar for willgr
0
229
Member Avatar for ankilosado

I have writen a code for adding (math +) two arrays. Actually, I have two arrays of a class I have also designed, that has two attributess, one of wich is an integer. I would like to sum (add element by element) one array on the other by adding the …

Member Avatar for ankilosado
0
176
Member Avatar for albgran

Hi Guys I need to compile and run a c++ program from java using Process a = Runtime.getRuntime().exec ("g++ -g function.cpp -o function"); Process b = Runtime.getRuntime().exec ("./function"); the problem is that the output I get from the c++ program is not correct but If I compile and run it …

Member Avatar for NormR1
0
104
Member Avatar for dansnyderECE

I'm trying to compile an executable (ELF file) that does not use a dynamic loader. I built a cross compiler that compiles mips from linux to be used on a simulator I made. I asserted the flag -static-libgcc on compilation of my hello.cpp file (hello world program). Apparently this is …

Member Avatar for vijayan121
0
2K
Member Avatar for dansnyderECE

I'm a bit confused about the executable offset in ELF files. Do you know what the difference between an address and an offset is in this context? It seems obvious but if you look at the 2 sections I bolded, sometimes the offset is something like : 00400164 000164 which …

Member Avatar for dansnyderECE
0
189
Member Avatar for charmed94

I have used Resource Hacker to extract all the files from an .exe so I could translate the menus right (translating in the program shows me wrong characters). Now I want to compile these files into an .exe file. How can I do that? Thank you in advance.

Member Avatar for charmed94
0
105
Member Avatar for vuki27

I have been using Borland Turbo C++ 3.0 to get started with C/C++. I am making a graphics application and this error has come up. I know that my code is too big but I cannot cut it down and I need to add more features. Can someone please tell …

Member Avatar for mitrmkar
0
146

The End.