No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
19 Posted Topics
I am facing a problem with my terminal (Ubuntu 12.04 LTS) . I was making some changes in the /bin/bash , but I have keeped a backup of .bashrc in case of something went wrong. Anyway today I have tried to open my Terminal and the following message appeared: There … | |
My main idea is to find an algorithm ( Java ) that takes the random letters which someone has typed in a JoptionPane for instance and then instantly by pressing "Find words" i would like the program to derive all those words that match my letters from a dictionary stored … ![]() | |
I would like to know how much does it cost for a website that handles about 100.000 active users simultaneously.. I mean what are the specific prices / costs for a VPS server and a Database ? | |
this is the result i am trying to: http://beepleased.com/wordpress/wp-content/uploads/2013/11/2.jpg and this is my code: panelSignUp.add(new JLabel("Name:")); // this.getContentPane().add(nameTextField,) panelSignUp.add(nameTextField); panelSignUp.add(new JLabel("Email:")); // this.getContentPane().add(nameTextField,) panelSignUp.add(emailTextField); panelSignUp.add(new JLabel("Username:")); // this.getContentPane().add(nameTextField,) panelSignUp.add(userNameTextField); panelSignUp.add(new JLabel("Password:")); // this.getContentPane().add(nameTextField,) panelSignUp.add(passwordTextField); panelSignUp.add(signDone); this.setLayout(new GridLayout(5,2)); this.setContentPane(panelSignUp); this.setSize(400, 300); this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); this.setVisible(true); all go well, the only problem is that … | |
I would like to make clearly that i do not ask somebody to write the code for me. This is useless for me and also annoying for you: I have to do the following task. Create a Java Frame for some functions in my java project. So here is the … | |
So this is what i dit. Declared three classes: Main Term Polynom So in Polynom i try to call a "plus" method: i tried this: public Polynom add(Polynom pol){ Polynom res = new Polynom("",0); Term tox = new Term(0,0); for(Term p : Polynom){ for(Term other : pol.Polynom ){ if(p.getDeg()==other.getDeg()){ tox.setCoef(p.getCoef()+ … | |
**Hey there ! Here is my question:** I am facing with an easy problem i think. I am creating 4 objects. Then i make an ArrayList in which i am storing the 4 objects. The excercise is to delete the objects that are the **same(equals)** and then sort them by … | |
I think that my problem is quite easy to be solved by hard coders like you :-) Its a conversion of binary number to decimal and hexadecimal. I cannot find why i am keep having errors in my two classes. Here is the code: **Main :** public class Times { … | |
Recently i've posted a question on how could i possibly attach an image on top of my navibar menu. I did it thanks for help. Now i am facing with another issue. What if someone who is on my site presses Ctrl + ? And zoom in ? or zoom … | |
I want to do what i describe on the title using php. Is it possible ? And how ? Something like this for example: http://www.pestaola.gr/ you can realize that there are pictures on menu bar. Thanks in advance. | |
In lines 359 and 360 i have this piece of code: printf("Oi mathites me ton megalytero bathmo ( %f ) einai oi: \n",max); for (i=Stack.Top;i>=0;i--) { printf("%f, \n",Stack.Element[i]); } And i want to print the results of that Stack...... but nothing happens .. :-/ What have i missed to add … | |
I think that the main problem on my code is that iam trying to pass a struct through another struct . Is there a problem if i use "->" instead of (*). ? Because it keeps showing me an error that say's : invalid type of argument '->' Iam trying … | |
My friends are keep telling me "Use debugg idiot !" I found out that for a code over 200 lines is very important. But i want to debug only a specific piece of code. And to review the results of a variable while the code is "executing" . Is this … | |
The problem is that i want to align at left the word "Religion" and in addition i want to align using last-child all the th to the right. what iam doing wrong ?? <html> <head> <title> CSS Exercise 2 </title> <!--this is a link to the css file you will … | |
#define StackLimit 50 // ôï üñéï ìåãÝèïõò ôçò óôïßâáò, åíäåéêôéêÜ ßóï ìå 50 #include <stdio.h> typedef int StackElementType; // ï ôýðïò ôùí óôïé÷åßùí ôçò óôïßâáò //åíäåéêôéêÜ ôýðïò int typedef struct { int Top; StackElementType Element[StackLimit]; } StackType; typedef enum { FALSE, TRUE } boolean; void TraverseStack(StackType Stack); void CreateStack(StackType *Stack); … | |
What is a new project programming ? Is it better writting code in separate files which they can combine together ... rather that making ine file that includes all the other .C files ? At last... if i have 3 files .. for example: **File one:** // * Filename: setadt.c … | |
I think that the problem is in lines 59-63 #include <stdio.h> #include "genlib.h" #include "ctype.h" #include "simpio.h" #include "string.h" typedef struct{ char name[30]; long sell; double supply; }domiT; void ypologismoi(domiT stx[],int *p,FILE *infile); void emfaniseis (domiT stx[],int *p,FILE *outfile); main() { int p; FILE *infile,*outfile; domiT stx[100]; ypologismoi(stx,&p,infile); emfaniseis(stx,&p,outfile); system("pause"); … | |
**This is a sample text file. Your program should add a space after the following comma,and after this comma,but not after this comma, because there is already a space. Similarly, it should add a space after the following fullstop.And after this fullstop.But not after this fullstop. Goodluck.** # I want … | |
#include <stdio.h> #include "genlib.h" #include "simpio.h" #include "string.h" #include "ctype.h" typedef struct { char name[30]; int apousies; }telikaT; void ypologismoi(FILE *inArxeio,telikaT students,int *p100,int *pAll); void emfaniseis(FILE *outArxeio,telikaT students,int *p100,int *pAll); main() { FILE *inArxeio,*outArxeio; telikaT students[30]; int p100,pAll; ypologismoi(inArxeio,students,&p100,&pAll); emfaniseis(outArxeio,students,&p100,&pAll); system("pause"); } void ypologismoi(FILE *inArxeio,telikaT students,int *p100,int *pAll) { char … |
The End.