Raman009's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
13 (0.02 per day)
Joined:
06-November 11
Profile Views:
172
Last Active:
User is offline Jan 01 2012 11:47 AM
Currently:
Offline

Previous Fields

Country:
IN
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
0
Icon   Raman009 Being human is not easy..

Posts I've Made

  1. In Topic: Trouble accessing Tomcat Server

    Posted 22 Dec 2011

    I could not wait much and found the solution myself.
    Changing the default Tomcat Server Port by configuring server.xml in conf directory of Tomcat installation directory.
  2. In Topic: C++ graphics : screen disappears at runtime

    Posted 8 Nov 2011

    View Post#define, on 08 November 2011 - 12:19 PM, said:

    Have you ran any graphics code already? Are you on a 64 bit machine?


    Yes, I have run many graphics programs on TurboC3 successfully. I am on a 32-bit machine.
  3. In Topic: C++ graphics: determining the screen coordinates

    Posted 8 Nov 2011

    View Postjimblumberg, on 08 November 2011 - 08:19 AM, said:

    Glad you got it to work, but remember you are learning obsolete technologies, using an obsolete compiler, for an obsolete operating system (DOS).

    Jim

    I can't help it . Because this is what they teach in class. That's why I joined this site to improve slowly and slowly.
    Thanks for your advice.
  4. In Topic: C++ graphics: determining the screen coordinates

    Posted 8 Nov 2011

    Thanks for replying guys---

    #include<iostream.h>
    #include<graphics.h>
    void main(){
     int gdriver=DETECT,gmode,x,y;
     initgraph(&gdriver,&gmode,"C:\\turboc3");
     x=getmaxx();
     y=getmaxy();
     cout<<"\nScreen Coordinates"<<x<<"x"<<y; 
    }
    


    This code executes on TurboC3 without any errors or warnings..
  5. In Topic: C graphics: Initializing a 2D matrix

    Posted 6 Nov 2011

    View PostCTphpnwb, on 06 November 2011 - 01:18 PM, said:

    Instead of doing this:
       void trans::rectf(){
        int p1,p2,p3,p4,q1,q2,q3,q4;
    	cout <<"\nEnter the rect coordinate1";
    	cin >> p1 >> q1 ;
    	cout <<"\nEnter the rect coordinate2";
    	cin >> p2 >> q2 ;
    	cout <<"\nEnter the rect coordinate3";
    	cin >> p3 >> q3 ;
    	cout <<"\nEnter the rect coordinate4";
    	cin >> p4 >> q4 ;
    	float rmat[3][4]={{p1,p2,p3,p4},{q1,q2,q3,q4},{1,1,1,1}}; //3x4 matrix
    
    

    I'd do something like:
    void trans::rectf(){
    	float rmat[3][4]={{0,0,0,0},{0,0,0,0},{1,1,1,1}}; //3x4 matrix
    		int p,point;
    		for(p = 0; p < 4; p++) {
    			point = p+1;
    			cout << "\nEnter the rect coordinate" << point;
    			cin >> rmat[0][p] >> rmat[1][p];
    		}
    
    

    Thanks, Your code is quite good..However, do you see any other way to improve the program ?

My Information

Member Title:
New D.I.C Head
Age:
23 years old
Birthday:
March 13, 1990
Gender:
Programming Languages:
C, C++, Java , SQL , Assembly Language

Contact Information

E-mail:
Click here to e-mail me

Friends

Raman009 hasn't added any friends yet.

Comments

Raman009 has no profile comments yet. Why not say hello?