- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
16 Posted Topics
Im returning to Visual Studio after 8-9 years. The world has changed a lot and the first shock Ive gotten is that... XAML is in ..whether its WPF or Silverlight! Then theres WCF, XNA, and what not. Anyways heres my question: Is ADO .Net still relevant or has it been … | |
In my simple Silverlight class assignment... the last method : [CODE] FontFamily verdanaFnt= new FontFamily("Verdana"); myRichTextBox.Selection.ApplyPropertyValue (Run.FontFamilyProperty,verdanaFnt) [/CODE] The problem is that it changes the FontFamily of the whole RTB including the non-selected parts. It behaves kinda like: [CODE] myRichTextBox.FontFamily=verdanaFnt; [/CODE] What i am I doing wrong? | |
Can someone please suggest me a psuedo code to extract sub problems from an arithmetic expression: For example, How do I remove (8*2) and (3+2) from a given string (5 + 6(3+2) - 2(8*2) +1) Input string will always start and end with paranthesis and the sub problems must be extracted … | |
How should I define the next() fucntion- LINE 69. For now the get_string isnt even fetching the string from the In_box //09030032 at lums [CODE] //====================================== //Stroustrup Interface Libray files //====================================== #include "Simple_window.h" #include "Graph.h" #include "GUI.h" #include "Window.h" #include "../std_lib_facilities.h" //====================================== //Load neccessary header files //====================================== #include <fstream> //to … | |
What would be the psuedo code to : recursively draws squares. The picture shown below depicts squares drawn recursively on each of the 4 corners of a square. • The base case is draw nothing for n = 0. • The reduction step is to draw, on each corner of … | |
Ok I need help on this Freshman year project-( so it should involve loops, arrays/strings,fstreams and functions only) A CSV file contains airport info: [QUOTE]ABZ,"Dyce","Aberdeen","Scotland, United Kingdom","GB",57.200000,-2.200000,493,\N,"Aberdeen",2657832,2638360 EDI,"Turnhouse","Edinburgh","Scotland, United Kingdom","GB",55.950000,-3.350000,493,\N,"Edinburgh",2650225,2638360 BXE,"Bakel","Bakel","Senegal","SN",14.916667,-12.908333,569,"Senegal",\N,\N,2245662 MFV,"Accomack County","Melfa","United States","US",13.633333,39.133333,67,"Verenigde Staten",\N,\N,6252001 ADK,"Adak Island Ns","Adak Island","United States","US",51.878056,-176.646111,67,"Verenigde Staten",\N,\N,6252001 LIT,"Adams Field Airport","Little Rock, AR","United States","US",34.729444,-92.224444,67,"Verenigde Staten",\N,5035199,6252001 ADS,"Addison Airport","Dallas","United … | |
The file "airports.csv" contains [U]12 pieces [/U]of info per line - separated by commas: [B]BIN,"Bamiyan","Bamiyan","Afghanistan","AF",34.800000,67.816667,701,"Afghanistan",\N,\N,1149361[/B] (there are 3 such lines for now) How do I modify my program to take the 1st, 3rd, 5th,6th,7th pieces of info per line and store them in an array- ill later use that array … | |
The following binary search code runs perfect . I feed values that exist in the array and it tells me at what location they are. But if i enter a value non-existent in the array it goes bad. It says number not in array and after that... [U] Any other … | |
[CODE]#include <iostream> #include <cstdlib> using namespace std; const int arrSize = 100; bool isPresent(int ,int ); int main() { int myArr[arrSize]; int input; for (int i=0; i<=arrSize; i++) myArr[i]=rand()%200; //creating array with random numbers //sorting random numbers for (int j=0; j<=arrSize; j++){ for(int k=0; k<j ; k++){ if (myArr[j] < … | |
I know that an array matrix would have been better but Im taking a freshman course so coulnt use it. 1- Tic tac toe grid is defined from locations 1 to 9 2- For loop executes 9 times for 9 turns 3- A functions takes all 9 locations as argument … | |
[CODE]#include <iostream> using namespace std; int main() { int c_hrs1 , c_hrs2 , c_hrs3 , c_hrs4; float gpa_1 , gpa_2 , gpa_3 , gpa_4; int total_c_hrs= c_hrs1+c_hrs2+c_hrs3+c_hrs4; float cgpa= ((c_hrs1*gpa_1)+(c_hrs2*gpa_2)+(c_hrs3*gpa_3)+(c_hrs4*gpa_4))/total_c_hrs; cout<<"**********************************************************************"<<endl; cout<<"\t Welcome to GPA Calculator for Dummies"<<endl; cout<<"Please enter you GPA in course 1: "; cin>>gpa_1; cout<<"Please enter the … | |
the question is to be solved using loops,decisions and arrays!! QUESTION: [B]Statement of question: “AIRLINE RESERVATION" Write a program to assign seats on a 10-seater plane. Your program should first ask a user to enter 1 for First Class and 2 for Economy class. First 5 seats are economy and … | |
OK PEOPLE I NEED HELP AGAIN........pls dont do my homework..........thats y i havnt given the question this time aroung :) the question im asking is simple : the program asks user to input product id ( a,b,c,d or e) and its quantity sold......it then saves total sale in "int sale" … | |
[IMG]http://img.villagephotos.com/p/2004-8/807060/resultwanted.JPG[/IMG] the picture shows the result i wanna achieve but my program here which i modified: [CODE] #include <iostream> using namespace std; int main() { int k, m; for(k = 1; k <= 10; k++) { for(m = 0; m < k; m++) cout << "*"; cout << endl; } … | |
the typical question which ask user to display THIS * ** *** **** ***** ****** ******* ******** ********* ********** using a single cout<<"*" & cout " " with the help of [B]for loops ONLY[/B]. :) ive come to this this prgram but can anyone tell me where i am going … |
The End.