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

Hello guys, I am using Hibernate + Spring with netbeans to make a web application. I have it working correctly and displaying data from the DB. My problem is I only know how to do one hibernate query which is shown below. How can I do insert/delete queries. For instance …

Member Avatar for peter_budo
0
304
Member Avatar for ongpong

how can i compute a code if i enter numbers then if i press any key its stops and computes the inputs of all no.

Member Avatar for Ancient Dragon
0
111
Member Avatar for Undermine

Hello i'm rather new to Python and I was wondering how I could do a menu to prompt the user to choose a number and execute a certain part of code based on his choice. For example: please choose an option 1) 2) 3) then based on users input, it …

Member Avatar for Gribouillis
0
117
Member Avatar for Undermine

hi, im trying to learn python and this is giving me [ICODE]>>> x=input("Enter a value: ") if x % 2 ==0: print ("even") else: print ("odd")[/ICODE] then when i execute: Enter a number: then i enter a number but it does not print even or odd. why?

Member Avatar for Undermine
0
78
Member Avatar for Undermine

[B]header[/B] [ICODE] class DeckOfCards { public: DeckOfCards(); void Shuffle(); void deal(); void hand(); private: int deck[4][13]; int numcard; int row; int col; }; [/ICODE] [B]main[/B] [ICODE] #include "dc.h" using namespace std; int main() { DeckOfCards DeckCards; DeckCards.Shuffle(); DeckCards.deal(); DeckCards.hand(); return 0; } [/ICODE] [ICODE]#include <iostream> using std::cout; using std::cin; using …

Member Avatar for mrboolf
0
108
Member Avatar for mypopope

I'm using dev c++ beta i downloaded from the internet.but the problem is i cannot compile my source code even a simple one like this: #include <iostream> using std::cout; using std::end: int main() { cout<<"HELLO" <<end; return 0; } The error says "The system could not find the specified file" …

Member Avatar for AHUazhu
0
87
Member Avatar for Undermine

[CODE]//6.12 #include <iostream> #include <iomanip> using namespace std; double CalculateCharges (double car1=1.5,double car2=2.0,double car3=24.0); int main () { cout<<" Parking Garage Rates " << endl; cout<<setw(10); cout<<"Car"<<"Hours"<<"Charge"<<endl; double car1; for (int i=1;i<=3;i++) cout<<i<<CalculateCharges(car1)<<endl; cout<<"Total"<<endl; return 0; } //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ double CalculateCharges(double car1, double car2, double car3) { double rate; double hours[3]; …

Member Avatar for Lerner
0
94
Member Avatar for Undermine

Hello, I have a program that's 95% written. I am getting weird results though, so I will need you to fix it and EXPLAIN why that worked. This should take an experienced programmer less then 30 minutes. I would post it on here, but it's over a thousand lines of …

Member Avatar for vmanes
0
96
Member Avatar for Undermine

[B]HEADER..[/B] [ICODE]#include <string> using std::string; class Blackjack { public: Blackjack(string); void Shuffle(); void Intro(string); void InitDeck(Card deck[],int numCards); void PrintCard(int); // void Card(int); private: int deck[52]; //deck of 52 cards. }; [/ICODE] [B]BODY[/B] [ICODE]#include <iostream> #include <fstream> #include <cctype> #include <cstdlib> #include <ctime> using namespace std; const int NUM_CARDS = …

Member Avatar for Undermine
0
78
Member Avatar for Undermine

[B]HEADER FILE:[/B] [ICODE]#include <string> using std::string; class Blackjack { public: Blackjack(string); void Shuffle(); void Intro(string); void InitDeck(); void PrintCard(int); // void Card(int); private: int deck[52]; //deck of 52 cards. }; [/ICODE] [B]BODY PROGRAM.[/B] [ICODE]#include <iostream> #include <fstream> #include <cctype> #include <cstdlib> #include <ctime> using namespace std; #include "bj.h" Blackjack::Blackjack(string name) …

Member Avatar for Undermine
0
126
Member Avatar for Undermine

I'm trying to make a shuffler for a blackjack program it's supposed to give me back a random number from a deck of cards each time i call it. But it's also supposed to keep track of cards out of the deck.. I need to make it a function call, …

Member Avatar for StuXYZ
0
588
Member Avatar for Undermine

[code] #include <iostream> #include <cmath> using namespace std; int main() {//begin main double hypot(double,double); double base; double height; cout<<"Program to compute the Hypotenuse of a given right triangle. \n"<<endl; cout<<"Enter the base: \n"<< endl; cin>>base; cout<<"Enter the height: \n"<<endl; cin>>height; cout <<"The hypothenus of given triangle is " << hypot(base,height) …

Member Avatar for ArkM
0
102