103 Topics

Member Avatar for
Member Avatar for dimitrilc

## Introduction ## In this tutorial, we are going to learn how to create a Java module by hand. ## Goals ## At the end of this tutorial, you would have learned: 1. What a `module-info.java` file is. 2. How to compile a module. 3. Describing a module. ## Prerequisite …

2
108
Member Avatar for nadiam

Hello. I'm taking subject compiler construction. and there is a question and the answer that i don't anderstand. if it was digit -> [0 - 9] then it would be ->0->1->2->3->4->5->6->7->8->9 final state digits -> digit+ then it would be ->digit->digit->digit loop final state but this question i dont understand …

Member Avatar for rubberman
0
430
Member Avatar for Nathan_6

Hi everyone. I am makng a RISK game and I am working on a territory class here, and I got a strange message that my google searches have not shed any light on. My code is below. First, my header file: // Class represents each individual territory on the map …

Member Avatar for rubberman
0
526
Member Avatar for AssertNull

I have a Toshiba Satellite P55W-C running 64-bit Windows 10 Home. I bought it new less than a year ago. I am the only user. It has an Intel Core i7 CPU, 8 Gigs of RAM, 2.4 GHz. I'm generally surfing the web and streaming audio/video. I'm not a gamer …

Member Avatar for AssertNull
0
377
Member Avatar for trishtren

Hi, I was wondering if anyone could help me or point me in the right direction. Iv been developing a source to source compiler for some time, so one language being translated to C++/C. Now the source has been translated i wish to package a windows and linux c++ compiler …

0
160
Member Avatar for Curious Gorge

I'm sorry I keep having these strange problems but there's little I can do about them, they are unpredictable. I managed to fix the last one and I've been able to compile and run my programs. Now however I've run in to the *strangest *of problems, the one described in …

Member Avatar for Curious Gorge
0
319
Member Avatar for Curious Gorge

I've essentially copied a small project from another computer to this one. This one is running windows 8.1. What happens when I try to compile even a hello world cpp project I get this error: 'Fatal error: "iostream" No such file or directry' . I know this means the compiler …

Member Avatar for Curious Gorge
0
260
Member Avatar for James19142

I continuously get this warning whenever a constructor delegates to another constructor within the containing type, having virtual bases. `warning C4100: '$initVBases' : unreferenced formal parameter` It's the same warning as when a parameter or local goes unused, it in this case it seems to be referring to the virtual …

Member Avatar for James19142
0
635
Member Avatar for happygeek

[ATTACH=RIGHT]22389[/ATTACH]CodeToGo is, essentially, an API wrapper around the Ideone.com online compiler and debugger that enables you to use it to compile and run code in around 50 different programming languages on your iPhone or iPad. It has been around for a while but has always been somewhat tarnished with the …

Member Avatar for Anton_4
3
862
Member Avatar for nathan.pavlovsky

Hello programmers! I have been working on STL algorithms for some time now as a beginner, and I started doing an exercise, among which is the task of `use the fill algorithm to fill the entire array of strings named items with "hello"`. My code for this is below: // …

Member Avatar for nathan.pavlovsky
0
1K
Member Avatar for Emmaximum

Hello please i have a problem with my compiler. When ever i try compiling a program it gives me warning saying" Source code not compiled" I use Devc++ compiler. Do i change the compiler or what do i do? This is the program i typed in it

Member Avatar for Ancient Dragon
0
288
Member Avatar for yrawal90

i want to create a online compiler website but how to build a different compiler at one site with eaisy coding ..pls suggest me the proper solution

Member Avatar for pritaeas
0
141
Member Avatar for anisha.silva

Hi, I want to know how do i write the grammer for the program below in JavaCC. app(name : 'First App') { View(id: top) { Label(id: l1, text: 'Hello') Button(id: b1, text: 'Press') Button(id: b2, text: 'Exit') } } appreciate a reply thanks

Member Avatar for anisha.silva
0
284
Member Avatar for laaus001

I have Clipper Compiler Ver 5.0, also an older version. I used the earlier version along with dBase III+. I still have both but cannot remember the command to compile the PRG files from dBase III+. I look for and OBJ file after typing Clipper <mymainprgfile>. I don't know if …

0
145
Member Avatar for H_beginner

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.

Member Avatar for L7Sqr
0
244
Member Avatar for Adeel Rahat

i am using turbo c++ 3.0 but it has not good graphics.i try visual studio and dev c++ but its syntax is changed. i want a compiler that has same syntax like turboc++. plz name it and give me a dowload link for 64bit os.

Member Avatar for ddanbe
0
321
Member Avatar for Chinney

Hi all, So i was just wondering what would be the best software to use to program in C++ and then compile the program. So could you please name any software packages that you know of which can help you to program in C++ and if you could also state …

Member Avatar for Chinney
0
310
Member Avatar for cwarn23

Hi, recently I have wanted to learn how to write Windows native binary code to make a binary script which in one form or another will display hello world. I am hoping to eventually create a more efficient compiler using this method but as you should understand already, this is …

Member Avatar for Schol-R-LEA
0
377
Member Avatar for pwolf

Yesterday while browsing the web, I stumbled upon a blog where the author had written a post regarding what a computer scientist should know, in that list he had given links for further reading. One of these links was to a website [nand2tetris](http://nand2tetris.org/) where the goal is supposedly to build …

Member Avatar for pwolf
0
452
Member Avatar for mark5rockzz_1

I'm afraid to ask this on SO because all I can get is down-vote so I ask it here.* ## **Question:** ## Does C/C++ compiler (e.g the popular "gcc") with OO concepts allocates/creates all data member if other data member are not in use? /************************************* * code for example: * …

Member Avatar for mark5rockzz_1
0
282
Member Avatar for Chinthanie

I have introduced an algebra for a new memory model. Now I need to implement this using Java. Basic step of my program is: Once we need to execute an application program (exe file), My program should accept that and classify it according to its functioning. do you have any …

Member Avatar for Chinthanie
0
230
Member Avatar for 26bm

Hi, I'm wondering if anybody knows of a python compiler to make an exe with. I have tries cx_freeze and py2exe so far, but I haven't been able to get it to work. If anyone has any good python to exe compilers please post here. Thanks, 26bm

Member Avatar for james.lu.75491856
0
369
Member Avatar for Garrett2011

Hello I encountered following info at [this page](http://en.wikipedia.org/wiki/Call_stack#Overlap): For some purposes, the stack frame of a subroutine and that of its caller can be considered to overlap, the overlap consisting of the area where the parameters are passed from the caller to the callee. In some environments, the caller pushes …

Member Avatar for sepp2k
0
311
Member Avatar for axitya

Yes, I know what I'm talking about. which is Creating my own compiler to compile a language say C++,Java,Ruby, Python ..(Any one of them ofcourse -.- ) Actually, if I can just get the source code for an existing one that would be much better. [example] Say there's Turbo C …

Member Avatar for felceyboy
0
352
Member Avatar for ellenski

I am learning about compilers right now and search for a source code in C as my guideline to better understand how it works. I found this online from this link [Click Here](http://www.programmersheaven.com/download/16060/Download.aspx) and the code is quite long. Even there are comments in the code, I still find it …

Member Avatar for deceptikon
0
301
Member Avatar for awfootball7

I keep getting an error in my MoneyDemo class, it reads, "Method checkMoney in class Money cannot be applied to given types; required: no arguments; found int, int; reason:actual and formal argument lists differ in length" Also here is my list of objectives for the program which I'll be graded …

Member Avatar for gon1387
0
447
Member Avatar for vikuseth

Inside FileTwo.h #ifndef FILETWO #define FILETWO #include"FileOne.h" class FileOne ; class FileTwo { public: int Test(FileOne One){ return (One.var1+One.var2);} FileTwo(void); ~FileTwo(void); }; #endif Inside FileOne.h #ifndef FILEONE #define FILEONE #include"FileTwo.h" class FileTwo ; class FileOne { private: int var1 , var2 , var3 ; public : friend int FileTwo::Test(FileOne One); …

Member Avatar for vikuseth
0
199
Member Avatar for zlloyd1

Hi all, I am trying to learn java here, and having some difficulties with a very simple program that I am working on in an attempt to get a feel for what the language can do. This is my code so far: import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; …

Member Avatar for JamesCherrill
0
914
Member Avatar for Labdabeta

Hello, I am using Code::Blocks, and recently any time I try to compile any program I get the errors "stray '\302' in program" and "stray '\206' in program" about every 20-30 lines. I know how to fix these (by deleting the non printing character(s) in the line in question) but …

Member Avatar for Labdabeta
0
288
Member Avatar for softwaretime

Could someone please help me find out what the problem is with this simple program? This souldn't be happening. Here is the code: #include "stdafx.h" using namespace std; int main () { int numbers[5]; int * p; p = numbers; *p = 10; p++; *p = 20; p = &numbers[2]; …

Member Avatar for softwaretime
0
260

The End.