Forum: C 6 Days Ago |
| Replies: 8 Views: 262 Hi,
i have done serial and parallel port interfacing in past and i can understand at the start it looks very hard. However your approach to the problem is right and the compiler which might do... |
Forum: C++ Aug 4th, 2009 |
| Replies: 5 Views: 296 http://www.imagemagick.org/script/install-source.php
hi got the link , thanks for help :)
The program is working |
Forum: C++ Aug 4th, 2009 |
| Replies: 5 Views: 296 Furthermore i have this link which i thought was good:
http://www.imagemagick.org/Magick++/
i downloaded the program from there |
Forum: C++ Aug 4th, 2009 |
| Replies: 5 Views: 296 Thanks for the link, I have downloaded this program already. But i was not able to find magick++ header file. My understanding might not be right, because i think i should be able to find a... |
Forum: Java Aug 4th, 2009 |
| Replies: 13 Views: 382 yep ,
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
if(jRadioButton1.isSelected())
{
// do the operation
}
else |
Forum: C++ Aug 4th, 2009 |
| Replies: 5 Views: 296 Hi guys,
i am working on this project, which has a C++ program for image processing. I have used Java and matlab for image processing in past so i never had to deal with Magick++ or... |
Forum: Java Jul 17th, 2008 |
| Replies: 1 Views: 3,505 hi,
i think you are already getting the String in to the Character, but you should replace
d.charAt(0);
with
c = d.charAt(0);
Thats it really , as we already know that String is... |
Forum: Java Jul 16th, 2008 |
| Replies: 1 Views: 341 hi,
Java Script and Java are totally different. You just need a book on Java, like Head first Java or Java how to program. There are many more out there. |
Forum: Java Jul 15th, 2008 |
| Replies: 5 Views: 486 |
Forum: Java Jul 15th, 2008 |
| Replies: 5 Views: 486 It can be done without using arrays but if you have to use it then , do you have to actually store the name of the person in an array element.
For example
Adam = seat[0];
like this ?
Anyway... |
Forum: Java Jul 15th, 2008 |
| Replies: 5 Views: 486 hi,
i think you should construct your program differently , the reason behind is the for loops. When the user enters 1, for the first class , it will go to
for (int firstclass = 1;... |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,435 |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,435 Makes sense,
thanks Salem ;) |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,435 lol,
I am not a Software engineer but i am an electronic engineer. I have done C++ and i am a Java addict. i know other languages too. But my point is , i am not doing anything wrong by putting... |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,435 -> NOT using int main() == not good
i agree
BUT
#include<stdio.h>
int main()
{
printf("\nHello World!"); |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,435 #include<stdio.h>
int main ()
{
char x;
printf("\nEnter a Character : ");
x = getchar();
printf("\nThe ASCII for Char is: %d",x);
return 0;/*** was avoiding this line ****/... |
Forum: C Jul 9th, 2008 |
| Replies: 16 Views: 5,435 #include<stdio.h>
void main (void)
{
char x;
printf("\nEnter a Character : ");
x = getchar();
printf("\nThe ASCII for Char is: %d",x);
} |
Forum: Java Jul 7th, 2008 |
| Replies: 4 Views: 928 That was just a pseudo code :p, thanks anyway |
Forum: Java Jul 6th, 2008 |
| Replies: 4 Views: 928 I managed to split up a 24 bit number by using signed and unsigned shifting of numbers. But i got a question from that part too. Is it true that if we shift a number by 32 bits , all data associated... |
Forum: Java Jul 3rd, 2008 |
| Replies: 1 Views: 378 Even though i have not made so many applets, but i am aware of advantages linked to it. If you have done maths in your academic life, and if you go on internet for help you will see some kind of... |
Forum: Java Jul 3rd, 2008 |
| Replies: 4 Views: 928 hi ,
i have a simple problem here, that is how can i convert an Decimal integer into Hexadecimal integer and not in Hexadecimal string. I have wrote the following code and... |
Forum: Java Jun 19th, 2008 |
| Replies: 4 Views: 520 hi
I am an engineering student as well , i jus did my second year exams , i dont know abt .NET but java is very helpful , i am doing java this summer. Anyways it all depends on the type of... |
Forum: C Jun 19th, 2008 |
| Replies: 5 Views: 1,595 ok i understood , what is strtok is exactly doing , your method is right , abt having two pointers. Thanks for help :) |
Forum: C Jun 19th, 2008 |
| Replies: 5 Views: 1,595 hi ,
i have worked out the code and it works quite well, but i am not using strtok, so still not satisfied here is the code :
#include <stdio.h>
#include<string.h>
#include<stdlib.h>
... |
Forum: C Jun 19th, 2008 |
| Replies: 5 Views: 1,595 ok that makes sense , but i would like some infromation on strtok, i have searched on web and found some material but i cant figure out whether it can be applied to my case or not, link is :
... |
Forum: C Jun 18th, 2008 |
| Replies: 5 Views: 1,595 Hi,
i am little confused in usage of strtok() syntax. Basically , i extracted the source code of a webpage using Java and now i have to remove all the extra tags inside the html page so i can... |
Forum: Java Jun 12th, 2008 |
| Replies: 3 Views: 1,111 hi,
Thanks for the guidance : )
void buildAlphabet()
{
ArrayList al = new ArrayList(26);
al.add("A");//at i = 0
for ( int i = 1 ; i<=26;i++)
{ |
Forum: Java Jun 12th, 2008 |
| Replies: 3 Views: 1,111 hi ,
i am tryin to put all the upper case alphabets in an array list and , then i want it to print on screen , but for some particular reason i am getting no result but a strange output. ... |
Forum: Java Jun 11th, 2008 |
| Replies: 7 Views: 844 Oooooh a stupid mistake lol , Thanks for help its working ; ) |
Forum: Java Jun 11th, 2008 |
| Replies: 7 Views: 844 By using the above method i am still getting the same result |
Forum: Java Jun 11th, 2008 |
| Replies: 7 Views: 844 i have used another method here which by using Random function, and my array creation method looks like this:
public int[] ArraySize(int size)
{
Random ran = new Random();
int[] Array1= new... |
Forum: Java Jun 11th, 2008 |
| Replies: 7 Views: 844 hi,
i have changed my code but i get this error saying "loss of precision".
public int[] ArraySize(int size)
{
int[] Array1= new int[size];
int i = size;... |
Forum: Java Jun 11th, 2008 |
| Replies: 7 Views: 844 Hi,
i have a problem here , i have made a class which has three methods , first method is to get size of the array and assign a random number to every element of array. Second method is to... |
Forum: Java Jun 5th, 2008 |
| Replies: 3 Views: 1,009 hi,
I am an electronic engineering student. I have some knowledge about robots , and if you really want to make a robot to move you need to learn how to program micrcontrollers inside the... |
Forum: Java Jun 5th, 2008 |
| Replies: 3 Views: 449 i hope u figured it out, but the following code works, u mite need to change that starting part a bit , because the code is from actual class. : )
void squares()
{
int i=0;
do ... |
Forum: Java Jun 4th, 2008 |
| Replies: 13 Views: 7,679 import java.awt.*;
import java.applet.*;
public class graphic extends Applet {
Button button1;
public void init() {
}
public void paint(Graphics g) { |
Forum: Java Jun 4th, 2008 |
| Replies: 13 Views: 7,679 Thanks for your replies , i really wasn't expecting so many replies for my simple question.Because of your explanation in detail i understood it properly.Mathematically Alex is 100% right , because... |
Forum: Java Jun 3rd, 2008 |
| Replies: 13 Views: 7,679 Hi,
I am jahan, i just started java applets and i was trying to draw a graph. The idea i am using is based on drawLine(xmin,ymin,xmax,ymax). I wanted to get a graph for sinx which is proving... |