Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #14.9K
Ranked #2K
~5K People Reached
Favorite Tags
c++ x 6
c x 1
Member Avatar for samaru

University project; Prolog in Java. Was a set of java classes which acted like a mini-prolog machine (keeping state, backtracking etc.) Took prolog source and compiled into Java source, or java bytecode (even did on the fly generation.) Managed to implement around 80% of the standard ISO prolog functions, and …

Member Avatar for Fest3er
0
3K
Member Avatar for another guest
Member Avatar for babygrl83

pseduocode is a way of writting down the logic with out dealing with the implementation details; it can be very code like or very english like. for example, pseduocode for swaping the order in an array: for i = 0 ... n/2 and j = n ... n/2 then swap …

Member Avatar for Abzero
0
492
Member Avatar for Alex_

ok, well not that nice a problem; firstly the gramma as a whole grammar is not LL(1). But taken as three grammar's it's ok. Anyway not sure what your asking; do you not know how to construct a parser? or you don't unstand First & Follow?

Member Avatar for Abzero
0
151
Member Avatar for zoner7

The only difference is that for i++, the compiler creates a temporary (the value of i before the incremental) for use. I'm sure that most compilers now optimse the situation where the temporary is not needed and hence this is no longer an issue

Member Avatar for Abzero
0
236
Member Avatar for sid99

(Ok late; so I doubt this will get looked at!) Question (1) A ---> A + B A ---> C B ---> B + C B ---> C C ---> (A) C ---> integer This I think is right: A --> CA' A' --> null A' --> +BA' B --> …

Member Avatar for sid99
0
90
Member Avatar for PhiberOptik

if you looking for management; a 'Computer Engineering' heavy degree is good. Make sure there is a good degree of programming in it as well. But as others say; your most likly going to enter on the ground floor, and work your way up.

Member Avatar for Abzero
0
100
Member Avatar for kasippu

Homework questions? If you have a specific question; show your working and we can clear up any mis-understandings. Posting just questions won't get answers.

Member Avatar for Abzero
0
85
Member Avatar for sieghart0123

You can create objects on the stack : which exist for the lifetime of the function only, or on the heap which exist until you delete them. If you are assigning a pointer which outlives the function then you need to create the object on the heap; and you do …

Member Avatar for sieghart0123
0
126
Member Avatar for shankhs

this: int (*fn)() is declaring fn as a pointer to a function which takes no parameters and returns an int. But in your code you still refer to it as add(), you need to call fn(). Function points are a nice, but can get complex in C++. An other option …

Member Avatar for RenjithVR
0
152
Member Avatar for Gerlan

Look into the 'substr' function of the string class, you can easily pull out sections of the string (since you know the structure) to populate your structure.

Member Avatar for Abzero
0
95
Member Avatar for Onixtender