Making the transition from Java to C++?
Hi,
I am a Java programmer, who has never touched C or C++. I wish to apply for a student internship where one of the requirements is 'capable in C++'. The closing date for the internship is in February and I would love to get the job. How difficult would it be to learn C++ to a 'capable' level from a 'capable' level of Java before I would be tested (interviews are probably in late feb/march)?
Cheers!
Jack
If I were you I'd Google for a tutorial on C++ for Java programmers. If such exists, it will save you a lot of time (over slogging through an introductory C++ tutorial for non-programmers).
As I recall C++ (it's been a while) the biggest gotcha will be memory management.
Porting your existing Java game is a good idea.
I'd also suggest checking out which libraries and environments they use. If they only develop for Windows, for example, then you should probably get used to that. If they use some toolkit for developing games -- say a physics library -- you might want to fiddle with that if you have time. This is probably just icing on the cake.
For a student internship at a game company, seeming young and cool might weigh more than pure technical competence anyway (at least in comparison to other companies and non-internship programming jobs). Game programmers like to think of themselves as a breed apart so you might want to check out game industry sites (like gamasutra.com).
Find a C++ forum if you have questions.
There's nothing else to say really. Try to learn C++ and see how it goes. Maybe it'll work, maybe it won't. At your age, you should try either way! Youth is the time in life that you should push yourself and be willing to make mistakes. Just don't get a drug habit, a prison term, a disabling injury, or an STD, and you'll be fine.
Edited by: paulcw on Dec 3, 2009 6:33 PM
Similar Messages
-
ICal not making the transition from Leopard to Snow Leopard....
....you can read the original post here:
http://discussions.apple.com/thread.jspa?threadID=2226228&tstart=0
Anyone have any suggestions on how to make Snow Leopard cooperate where iCal is concerned?Scanner drivers are the most likely to be broken. Check with the vendor if updates are available (less likely if more than a couple of years old - or even 1 year in the case of HP)
If not check Support Downloads for updates. Apple have issued updates for most makes in the last 6 months, in fact there's a new one for HP on the site now.
Otherwise (once you've checked the links BGreg supplied) installation is usually straightforward. There's only one install option and that replaces system files only, without affecting your data or applications or preference settings.
(always wise to back up first of course in case of surprises/finger trouble)
If you have PPC applications still (like AppleWorks), ensure you select Rosetta in the installations. It's there by default in Leopard, but you need to select it in SL. -
I want to create an iMovie, and I'd like to use bits and pieces from the different movie trailers templates. Is there a way for me to extract just the transitions from these trailers.
I don't want to use the trailers themselves as they are now because the options are too limited in respect to how I can create the movie. For example, there are times where I only want two words on the screen, but I am forced to use three instead. Also, I would like to delete such things as "cast" and "credits," but it doesn't seems like I can do that either.
Thanks in advance for your help.
Cheers.Rommel Cinco wrote:
Is there a way for me to extract just the transitions from these trailers.
No there is not.
You could create a trailer, share it and then re-import and cut out just the pieces you want, but I don't think that's what you're looking for.
Matt -
I'm having 10.8.3 and today 18-Apr Thursday I had installed latest java 7 update. Now when ever I test java page it just redirects the page to Java download on both Firefox and safari. I tried deleting the cache from Java Sec Panel - temp ile but still same prob.
Make sure that the plugin is not automatically disabled in Firefox:
Clinton -
Help for WindowedApplication resizing with the transition from center to foursquare?
Any idea to resolve the WindowedApplication window to resize with the transition from center to foursquare?
thanks a lot!
DavidUse the Tween class to transition the window's current width and height properties to their final width and height. Register a function to receive one of the tween's "motionChange" event so you can reposition the window accordingly when its w and h are changed. You'll need to measure the window's bounds and position at each step to make sure it's not outside the screen bounds, or smaller/larger than allowed. How you resize the interior stage content is up to you...
-
Revision: 10248
Author: [email protected]
Date: 2009-09-14 16:45:00 -0700 (Mon, 14 Sep 2009)
Log Message:
Fix a few bugs related to the interaction between IPlayable, IPausable, and ITemporal within a SerialElement, specifically around ensuring that the transition from child to child happens in the various permutations of these traits. Introduce a helper class for managing this logic, as it can happen in both CompositePlayableTrait and CompositeTemporalTrait. This lays the groundwork for a MediaElement which only implements IPlayable (e.g. to ping a tracking server) working within a serial composition. Beef up unit tests so that these cases don't get broken in the future.
Modified Paths:
osmf/trunk/framework/MediaFramework/.flexLibProperties
osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositePlayableTrai t.as
osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositeTemporalTrai t.as
osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/composition/TestSerialEle ment.as
Added Paths:
osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/SerialElementTransiti onManager.asHi,
Found a note explaining the significance of these errors.
It says:
"NZE-28862: SSL connection failed
Cause: This error occurred because the peer closed the connection.
Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
Thanks & Regards,
Sindhiya V. -
How can i open the popup from java class
Hi,
Please tell me how can i open the popup from java class.
I am using jdev 11.1.1.7.0
I have used the below code which works fine in jdev 2.1 but it will have some errors in 11.1.1.7.0.
Please tell me some way to do this in all jdev versions.
Bean obj = (Bean)RequestContext.getCurrentInstance.getExternalContext.getPageFlowScope(“obj”);
Code for hide pop-up
FacesContext context = FacesContext.getCurrentInstance();
String popupId = obj.getPopUpBind().getClientId()
ExtendedRenderKitService service = Service.getRenderKitService(FacesContext.getCurrentInstance(),
ExtendedRenderKitService.class);
String hidePopup = "var popupObj=AdfPage.PAGE.findComponent('" + popupId +
"'); popupObj.hide();";
service.addScript(FacesContext.getCurrentInstance(), hidePopup);
Code to Show pop-up
StringBuffer showPopup = new StringBuffer();
showPopup.append("var hints = new Object();");
showPopup.append("var popupObj=AdfPage.PAGE.findComponent('" +
obj.getPopUpBind().getClientId() + "');popupObj.show(hints);");
service.addScript(FacesContext.getCurrentInstance(), showPopup.toString());
Code need to be added in jsff pop tag
binding="#{pageFlowScope.bean.popUpBind}
Variable need to be added in Bean.java
private RichPopup popUpBind;Hari,
Since you're using a non-public build of JDeveloper, you should be using a non-public forum.
John -
Can anybody tell me how to send/receive the sms from java application
Hi All,
Can any body tell me, how to send/receive the sms from java application to mobile phones.
I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
the following error.
Cannot connect to GSM Device, error : -11Which jsms? Google finds several.
Try the website where you downloaded it. -
Can any body tell me, how to send/receive the sms from java application
Hi All,
Can any body tell me, how to send/receive the sms from java application to mobile phones.
I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
the following error.
Cannot connect to GSM Device, error : -11The best place to ask your question is at the JSMS website, forum or mailing list since this is no error that directly comes from a class belonging to the core Java classes.
-
How to get the parameter from Java Script into the Parameter crystal Report
Hi All,
Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
FYI.
Java script sends the right parameter value.There is no issue in java script.
This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
Please clarify? -
Am trying to access MS SSAS data cube from Java through olap4j driver(through msmdpump.dll). I am able to connect , but when I try to execute a query, i am getting the below error: Please help
me out . (I tested the http://XXXX/OLAP/msmdpump.dll in MS Excel , and it is working fine)
org.olap4j.OlapException: XMLA provider gave exception: <soap:Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>
XMLAnalysisError.0xc10a0004
</faultcode>
<faultstring>
The CRASHDWHSRG cube either does not exist or has not been processed.
</faultstring>
<detail>
<Error Description="The CRASHDWHSRG cube either does not exist or has not been processed." ErrorCode="3238658052" HelpFile="" Source="Microsoft SQL Server 2012 Analysis Services">
</Error>
</detail>
</soap:Fault>See my other answer where you asked this same question on another thread
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/22dfc400-668d-4bd4-b76d-7c6b9ddda47a/msmdpumpdll-not-getting-registered?forum=sqlanalysisservices
http://darren.gosbell.com - please mark correct answers -
Error while calling the BPEL from java program
Hello All,
I am tring to call the Synchronous BPEL process from the following code:
package callbpelfromjava;
import com.oracle.bpel.client.Locator;
import com.oracle.bpel.client.NormalizedMessage;
import com.oracle.bpel.client.delivery.IDeliveryService;
import java.util.Map;
import java.util.Properties;
import oracle.xml.parser.v2.XMLElement;
public class BPELCaller {
public static void main(String args[]){
String input = "krrish";
String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
try{
Properties props=new Properties();
props.setProperty("orabpel.platform","ias_10g");
props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
props.setProperty("java.naming.provider.url","opmn:ormi://192.168.137.40:6004/home/orabpel");
props.setProperty("java.naming.security.principal","oc4jadmin");
props.setProperty("java.naming.security.credentials","welcome1");
props.setProperty("dedicated.rmicontext", "true");
Locator locator = new Locator("default", "bpel", props);
System.out.println("After creating the locator object......");
IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
System.out.println("Befor creating the NormalizedMessage object......");
NormalizedMessage nm = new NormalizedMessage();
System.out.println("After creating the NormalizedMessage object.*.*.*...");
nm.addPart("payload", xmlInput);
System.out.println("Before creating response object......");
NormalizedMessage res = deliveryService.request("AccessDBBPEL", "process", nm);
System.out.println("After calling the AccessDBBPEL .*.*.*...");
Map payload = res.getPayload();
System.out.println("BPEL called");
XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
String replyText=xmlEl.getText();
System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
catch (Exception e) {
e.printStackTrace();
I Included the following jar files:
Orabpel-ant.jar
Orabpel.jar
Orabpel-common.jar
Orabpel-boot.jar
Xmlparserv2.jar
Ejb30.jar
and getting the exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
Am I doing any thing wrong ?
Thanks
KrrishHello Marc,
Thank you for the reply.
I could not find some of the jar files in my Jdeveloper 10.1.3.1.0
../lib/olite40.jar
../lib/wsclient_extended.jar
../lib/log4j-1.2.14.jar
could you please help me locating these jars.
or If possible, could you mail me those jars at [email protected]
I have included all other jar files you have listed and getting the following errror:
java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:293)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
at callbpelfromjava.BPELCaller.main(BPELCaller.java:39)
Thanks
Krrrish -
The transition from iPhone 3Gs to iPhone 4
I purchased my iPhone 3GS not long ago and as such had to pay $399.99 when I purchased my new iPhone 4.
When my new iPhone 4 arrives from Apple what should I expect to have to do in order to get my ATT service transitioned from the 3GS to the iPhone 4? Will the new iPhone 4 come with a new SIM card that already has my current iPhone 3Gs phone number on it? Will I have to move the SIM card from the 3GS to the iPhone 4? Will I need to contact ATT to have service on the 3GS turned off?
Any thoughts would be greatly appreciated.It's really easy, you will need to backup your 3GS prior, then you would connect the iPhone 4 to iTunes and it will walk you through the process. It will ask you if this is for an existing line or new number, select the existing line and off you go. It will transfer the new number to the sim, deactivate the old sim on the 3GS and then restore the iPhone 4 with the backup you just did on 3GS. Once that is done you can wipe out the data on the 3GS or just leave it - the 3GS now becomes a glorified iTouch.
-
How to call a procudure (has collection as one of the parameters) from java
Hi
I have written a PL/SQL procedure. One of the parameters of the procedure is a collection.
Could you please tell me how to call this procedure from java.
Regardssee the link for example
http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/advanced/sqljSTCollectionSample/SqljSTCollectionSample.sqlj.html -
Error MUT-02041 : While exporting the data from Java system.
Dear Friends,
When exporting data from Java system (source system) using SAPINST. We are getting
the below error in 4 of 5 (Archiving SDM Repository) stage.
Error :
MUT-02041 SDM call of createsdmkitjar ends with returncode 2
With this, I am unable to proceed further. Please help me on this to proceed further.
Thanks in advance,
regards,
SrinivasHi All,
I could find the below error log from sapinst.log file.
=============
Info: Exclude components as specified
in /usr/sap/IPD/DVD_JAVA/51033746_1/Installation_Master_6.20_6.40_05_08/IM_AIX_PPC64/SAPINST/COMMON/INSTALL/JMIG/EXCLUDE.XML
Info: Resulting JAR
file: /oracle/IPD/sapdata1/data_export/SDM/SDMKIT.JAR
Info: No temporal directory for packing is provided. SDM home directory
will be used.
Info: Pack directory exists already. Remove it first.
Info: Start packing the components of com.gsk in
packedOrigin_com.gsk.jar
Info: Create /usr/sap/IPD/JC02/SDM/program/pack/packedOrigin_com.gsk.jarInfo: The components of com.gsk were successfully packed in
packedOrigin_com.gsk.jar
Info: Start packing the components of local in packedOrigin_local.jar
Info: Create /usr/sap/IPD/JC02/SDM/program/pack/packedOrigin_local.jar
Info: Create /oracle/IPD/sapdata1/data_export/SDM/SDMKIT.JAR
Warning: Warning during command execution: No metadata files exist for
development
component 'revtrac_agu11'/'local'/'LOKAL'/'0.2009.08.11.10.56.14'/'0'.
Cannot pack this archive.
No metadata files exist for development
component 'revtrac_aug13eartest'/'local'/'LOKAL'/'0.2009.08.13.14.44.25'/'0'. Cannot pack this archive.
No metadata files exist for development
component 'Aug10_09'/'local'/'LOKAL'/'0.2009.08.10.14.39.29'/'0'.
Cannot pack this archive.
No metadata files exist for development
component 'Aug14'/'local'/'LOKAL'/'0.2009.08.14.10.46.38'/'0'. Cannot
pack this archive.
No metadata files exist for development
component 'Aug14two'/'local'/'LOKAL'/'0.2009.08.14.10.55.21'/'0'.
Cannot pack this archive.
No metadata files exist for development
component 'revtrac_aug11b'/'local'/'LOKAL'/'0.2009.08.13.14.36.43'/'0'.
Cannot pack this archive.
Missing archives may lead to errors after the packed SDM installation
has been extracted later.
Info: This SDM installation has been packed
to /oracle/IPD/sapdata1/data_export/SDM/SDMKIT.JAR
To unpack this installation again,
extract /oracle/IPD/sapdata1/data_export/SDM/SDMKIT.JAR and invoke the
SDM command install with parameter extractpackedinst=true
Executed, but finished with warning(s). Return code: 2
Error: Executed, but finished with warning(s). Return code: 2
ERROR 2010-10-21 15:54:48
MUT-02041 SDM call of createsdmkitjar ends with returncode 2
=============
Can you please check this and help me on this to proceed further.
thanks..
Srinivas
Maybe you are looking for
-
Iphone calendar and yahoo not syncing, anyone have issue
My iphone4 is not syncing with my yahoo calendar. It has been an issue for a few days. I have downloaded and installed latest software. Computers show updates, but not the phone. Anyone else experiencing this issue?
-
FF 9,0.1 hangs every 30 mins, Windows 7 64-bit -- fix?
Every 30 mins. while FF 9.0.1 is open, I get 3 events in Windows Event Viewer at the same exact time -- #4624(account successfully logged on), #4672(special privileges assigned to new logon), and #7036(Windows Error Reporting Service starts). Then co
-
IMovie '08 won't preview my newly imported video, shows only black screen.
Hi, I just imported a new video from my camera, and it won't preview it in the viewer. the thumbnails will "play", but noting in the viewer. I just tried opening an older project, and they work fine. Is there a way to force imovie to rebuild the prev
-
Looping SelectedItem values in HttpService to Update Several Rows in Database in Flex
Hi, My client wanted me to create something that allows certain DataGrid to display to allow users to edit and update the database records. The only dilemma I am having here is how to actually create something from Flex's end to allow users update se
-
S_ALR_87012357 Advance Tax on Sales/Purchase - VAT CYCLES
Hi Viewers, Vat Cycles - When executing transaction code S_ALR_87012357, we cannot get achieved results. The entries from the automatic output vat account (2504000) should be transfered to account (2503000) when we use this transaction code. We