80 Topics

Member Avatar for
Member Avatar for saukrit
Member Avatar for sirlink99

Hello Everyone, I am experiencing errors when trying to compile a project in Java 8. The errors are caused by swing components. The code I am using is the following: import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; public class Main2 { public Main2(){ JFrame f = new JFrame (); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setSize(100, …

Member Avatar for JamesCherrill
0
1K
Member Avatar for VengefulToast

Hi fellow members, I have wrote two abstract classes, with the second inheriting from the first. However, I receive this error when I try to compile: "error C2143: syntax error : missing ',' before '<'." Will somebody help me out? Thanks! template <class DataType> class AbstactArrayClass { friend ostream& operator …

Member Avatar for mike_2000_17
0
276
Member Avatar for burhanahmed92

I am making a erp using WPF-C# and i have a confustion on how can i connect my app to sql server after compiling. I am asking this because my app connects to DB when i compile it with Visual Studio and SQL server is already installed on my pc, …

Member Avatar for ddanbe
0
1K
Member Avatar for nekoleon64

My Name is Leonard E. Norwood Jr. I'm Undergraduate student from Norfolk State University in Norfolk Virginia. Getting down to the point, my program is supposed to print out a list of pre-set numbers in reversal. I used pointers for this, however, something went wrong so I'm trying my best …

Member Avatar for iamthwee
0
361
Member Avatar for softwaretime

Well this is quite a large program so there is a lot of information to sort through, but when I compile it now it comes up with this: /Users/Adam/Adam's Work/Programming/C++/Code/OS2.cpp: In member function ‘virtual int dbase::todo()’: /Users/Adam/Adam's Work/Programming/C++/Code/OS2.cpp:393: error: invalid conversion from ‘const char*’ to ‘int’ /Users/Adam/Adam's Work/Programming/C++/Code/OS2.cpp:394: error: invalid …

Member Avatar for frank.dekievit.50
1
13K
Member Avatar for Emma_3

Line 49 is giving me a C2679 error and I'm not sure how to fix it. Help? #include <iostream> #include <fstream> using std::cout; using std::cin; using std::ifstream; using std::ofstream; const int MAX_SSN = 12; const int MAX_WAGE = 6; const int MAX_HOURS = 3; const char STATUS = 1; int …

Member Avatar for Ancient Dragon
0
376
Member Avatar for marouane12

Hello, i try to compile ctorrent, it starts but l have this message "error c++ compiler cannot create executables". I dont know how to do? i re-install g++(gcc), i dont know where is the problem please help me ant thanks a lot!!!

Member Avatar for Ancient Dragon
0
123
Member Avatar for tony75

Hi I have windwos source code(first.c) how can I compile it and creating executable file under linux? I run kali linux. I appreciate your help

Member Avatar for JasonHippy
0
5K
Member Avatar for Sugondo

i have some problem about link the library to executable. i tried to statically linking but when i create the .a file i always failed, what i want to know is there any way for the exe look up into current directory instead of the system if i has all …

Member Avatar for richieking
0
161
Member Avatar for NardCake

Hello! So recently I have written a lexer/tokenizer and am working on a parser for a language with a friend. At this point everything is going great but I'm beginning to think about how I want to do code generation. Are there languages or systems that generate for example C …

Member Avatar for mark5rockzz_1
0
352
Member Avatar for gsdguru

I have been looking at the code below and it is driving me nuts. Can anyone explain the error and resolution? When I compile to code below I receive the following compilation error: cannot find symbol symbol : class User location: class com.atlassian.jira.rpc.soap.beans.RemoteUser package com.atlassian.jira.rpc.soap.beans; import com.atlassian.jira.user.util.UserManager; import com.atlassian.jira.user.util.UserUtil; public …

Member Avatar for gusano79
0
290
Member Avatar for karan.rks

hey everybody im new to java i have a book and im learning the language from it but i want to know a compiler where i can run the programs i have "IDEA" but it is really confusing can anybidy help me please???

Member Avatar for stultuske
0
195
Member Avatar for James19142

I need to modify an object in a QVector. I'm the `[]` operator to point to the object, which is overloaded with a constant and a non-constant version. The problem I'm having is that I don't know how to specify the non-const version, so I get compile errors telling me …

Member Avatar for James19142
0
206
Member Avatar for gamcdonald

Hi, started programming 2 days ago, and i'm having a problem with Java saying one of my variables isn't initialised. Couls someone help please?! Thanks, code below: public static void adding() { int n = getN(); int total; for (int i=1; i<=n; i++) { total = i + 1; } …

Member Avatar for stultuske
0
374
Member Avatar for borix134

Im using a Mac, lwjgl, and Java 7 (Execution enviroment: 6). Hey Im trying to build my project and It gives me a message that says: A fatal error has been detected by the Java Runtime Environment, It works fine when I run it in eclipse, and the execution enviroment …

Member Avatar for Taywin
0
132
Member Avatar for supanovabay.kebede

Can mobile phones run c++ compilers such as borland and turbo? If yes pls do tell where i can download them thanks

Member Avatar for PrimePackster
0
139
Member Avatar for rizzi143

hi. i have a html form that allows user to browse and upload the code using the upload button ( which runs php). the files gets uploaded. now i need to either change that existing php file or add a new button in html file and compile and run the …

Member Avatar for diafol
0
277
Member Avatar for Some Dude

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

Member Avatar for Some Dude
0
612
Member Avatar for mcmanuel20

public class Calculate { Calculate() { int x,y,sum, multiply,devide; x=12; y=5; sum=x+y; multiply=x*y; devide=x/y; } public static void main(String[] args) { System.out.println("the sum of two numbers:" + sum); System.out.println("the multiple of two numbers:" + multiply); System.out.println("the devition of two numbers:" + divide); } }

Member Avatar for JamesCherrill
0
151
Member Avatar for Peppercat101

So Ive googled this error but I cant find an explanation of why this is happening in my code.. Error: g++ -o code code.cpp code.cpp:8:17: error: too many decimal points in number code.cpp:8:43: error: too many decimal points in number code.cpp:1:1: error: expected unqualified-id before '<' token make: *** [code] …

Member Avatar for MandrewP
0
2K
Member Avatar for linc186

I've been trying to get this to build for hours, I have no idea what's wrong. Any help is appreciated, thank you. Here's the code: main.cpp #include "SDL/SDL.h" #include "Core.h" #include "GameStates.h" #include "globals.h" int main(int argc, char** args) { if(core.Initilization(640, 480, 32, SDL_SWSURFACE) == -1) { SDL_Quit(); } while(core.desiredstate …

Member Avatar for gusano79
0
281
Member Avatar for kindofsudden

I put together a vb.net program that does some string parsing and creates a fixed-width file at the end. When I run it on each of my 2 machines it creates a properly formatted file. When my client downloads the msi file, installs it, and runs it, he gets several …

Member Avatar for belenos46
0
217
Member Avatar for cagdaskurt

Hello guys, I need to develop my own peap protocol. I've found some source code to inspect, but i dont know how to compile it. In Linux? In Visual Studio C? Please help me. I'm getting so pressed :s Here is the source codes : client : http://www.codeforge.com/article/116327 server : …

Member Avatar for mike_2000_17
0
200
Member Avatar for theashman88

Hi Its been about a year since I've been on this site, Back when I use to use XP for my operating system and Dev-C++ for my compiler. But Now I have WIndows 8 and I tried downloading Dev-C++ but I kept getting this message. "g++.exe has stopped working." So …

Member Avatar for adityatandon
0
612
Member Avatar for Constantine08

I would like to know how to compile the jBullet demos, found here: http://jbullet.advel.cz/download/jbullet-20101010.zip in the eclipse IDE. It seems like it should be a fairly easy but i may be missing some small simple task. If you do know the answer, please be fairly direct and detailed. Thanks!

0
139
Member Avatar for MrHardRock

Hey guys, I recently had an assignment to write a sort algorithm we have not yet gone over in class. I had no problem getting my code written and to compile, but now that it compiles I keep getting an error that says "Exception in thread "main" java.lang.NoSuchMethodError: main" I …

Member Avatar for Ezzaral
0
225
Member Avatar for SgtMe

Hi all. I'm using DragonFireSDK to make an iPhone app, which means that I can't use any external libraries other than the SDK one. I am trying to get an integer variable for score to a function which will display text on the screen. However, that function takes a char* …

Member Avatar for Ancient Dragon
0
399
Member Avatar for StickyTape

I use Visual Studio 2010 Ultimate. After fixing one of my problems, I ran into another. I have 2 files in my project named, let's say, A and B. The problem is when I try to run the code from B, VS outputs code from A. Any ideas on how …

Member Avatar for Crosby Grant
0
1K
Member Avatar for pynoobie

I am having trouble compiling an exe. I tried both py2exe and cxfreeze with similar results, I made an exe but it didn't work. I figured out that I needed to send the image files and sounds with it (should have thought of that to begin with). Now that I …

Member Avatar for pynoobie
0
239

The End.