Forum Replies Created

codewithc
CWC Keymaster

You go to project properties and specify starting form.

codewithc
CWC Keymaster

I’d suggest that you go along to CoderDojo – your kid will have fun and will learn to code. However, it’s important to not be a helicopter parent, although they’re always looking for volunteers to help mentor, answer questions, manage attendance, etc. This link will help you find one near you:

https://zen.coderdojo.com/find

If there’s none near you, why not start one:

https://coderdojo.com/start-a-dojo/

codewithc
CWC Keymaster

QLD is using Scratch in schools as an entry level. My son enjoyed being involved. Might be worth looking at it, they join and they get activities to choose from etc .. Free.

IMO it is getting them to understand the concept and creating an interest as apposed to specific software etc that is in your face. It’s the dif between falling in love and an arranged marriage Razz


https://scratch.mit.edu
codewithc
CWC Keymaster

Normally exec() function will be disable by hosting provider.

codewithc
CWC Keymaster
  • It should be xml based and i really don’t know if php is xml based.
  • It should accommodate multiple user with different rights.
  • it should be able to store all kind of documents and have effective search system to search for documents.
  • it should be able to assign rights to documents, who and who should not have right to documents.
codewithc
CWC Keymaster

If you call a constructor, you are already instanciating your object so, it is too late to avoid this fact. You should make a test on X before to decide if you can finally create your object. It can be like this


MovablePoint A = null;
if(X >= -1000 && X =< 1000)
    A = new  MovablePoint(X, Y, xSpeed, ySpeed);

Or if you want use a class constructor, you can create a child class for MovablePoint which will call the mother constructor if the conditions are relevant...

You can also use a static method inner the class MovablePoint to validate the condition



public class MovablePoint
{
  public MovablePoint(int X, int Y, int xsp, int ysp)
  {
     ....
  }

   public static boolean testOfValidation(int X)
   {
      if(X >= -1000 && X =< 1000)
         return true;

     return false;
   }
}
MovablePoint A = null;
if(MovablePoint.testOfValidation(X))
    A = new  MovablePoint(X, Y, xSpeed, ySpeed);



or make a mixed solution

public class MovablePoint
{
  public MovablePoint(int X, int Y, int xsp, int ysp)
  {
     ....
  }

   public static MovablePoint testOfValidation(int X, int Y, int xsp, int ysp)
   {
      if(X >= -1000 && X =< 1000)
         return new MovablePoint( X, Y, xsp, ysp);

      return null;
   }
}
MovablePoint A = MovablePoint.testOfValidation(X, Y, xSpeed, ySpeed);

If you absolutely want to use the constructor, you can call the protected void finalize() method but, the object will be necessary created before to be destroyed and as you can not really decide when an object is effectively destroyed it will remain in memory until the garbage collector does the job.

codewithc
CWC Keymaster

I hope my pseudo code helps?

if X > 1000 || X < -1000
{ S.O.P "Fail.. X Out of range"
Exit }
else
{ S.O.P "X Validated"}
codewithc
CWC Keymaster

Java could be used as backend for web developpment (like php).

Java is slow ? It’s a jke, an http server powored by java is much more performant than apache (for php).

A java developper is more paid than php developper, because the java ecosystem is much more complicated.

For a first job I would definitely choose java instead of php. You can learn php by your own in few week, not java

codewithc
CWC Keymaster

Just wondering. Why cannot we make and create awesome games with python?

codewithc
CWC Keymaster

Recently C# and C/C++ have become more popular among mobile apps and they are still growing… and I’m not talking mobile development here! I want to know if I have a future in software development as a Java Programmer!

codewithc
CWC Keymaster

Java will not die… this is nonsense. Take a look at android programming.. everything was and is still written in Java.

codewithc
CWC Keymaster

It isn’t as easy to disassociate this language with the devices it uses.

Java is associated with coffee. Prob the go to drink for coders

Java is integral to Android.

The language is easy to learn once you can grasp the concept of objects, things with values and attributes. Java is an Object-Oriented programming language after all. Theres very good documentation on Oracle too.

I have no idea on how much money is to be made on web development but considering the other sites I go to outside my comfort zone I imagine its a giant mess meant to be put back together. So theirs that.

codewithc
CWC Keymaster

How to develop webparts and other SharePoint solutions at your local machine?

In order to run and debug sharePoint solutions, the project must reside on the server which has Windows sharePoint services installed. However, you can reference the Microsoft.SharePoint dll in your project at your local, but you won’t be able to run it.

codewithc
CWC Keymaster

What Do you know about SharePoint Object Model?

In Sharepoint Object model there are two Important namespaces. The Microsoft.Office.Server namespace is the root namespace of all Office Server objects and Microsoft.SharePoint is the root namespace for all WSS objects.

codewithc
CWC Keymaster

what is team site and public website in SharePoint?

Team Site: The team site enables you to invite users by giving them permission to the site or to the external users you explicitly share the site by using the external sharing feature·

Public Website: The public facing website is a site that caters as your organization’s web presence. It has everything you need for designing your site- libraries to store site content such as graphics, logos and design manager for customizing the content and style of your site

Viewing 15 posts - 1 through 15 (of 37 total)
en_USEnglish