199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for riwakawd

When I view my list in my admin I would like to be able to make sure the controller name is sorted asc Currently it does not sort alphabetically 'name' => ucwords(str_replace('_', ' ', $controller)), **Function** public function index() { $data['title'] = "User Group Permissions"; $controller_files = $this->get_installed_permissions('name'); $data['controller_files'] = …

Member Avatar for Kyle Wiering
-1
524
Member Avatar for Dondrell

#include <iostream> using namespace std; // Constant for the number of months const int NUM_MONTHS = 12; // Declaration of the WeatherInfo structure struct WeatherInfo { double rain; // Total rainfall double high; // High temperature double low; // Low temperature double averageTemp; // Average temperature }; int main() { …

Member Avatar for ddanbe
-1
270
Member Avatar for Shamar_1

Write, compile, and execute a C++ program to calculate the sum of the numbers from 1 to 100. The formula for calculating this sum is sum = (n/2)(2*a + (n-1)d), where n = number of terms to be added, a = the first number, and d= the difference between each …

Member Avatar for ddanbe
-1
370
Member Avatar for singh.ranjeet

I am new in Programming line please give me the code to connect Mysql Database with C# in windows Form. I made a program of login and i create a Mysql databse but when i goes to connect the form with database& written whole code i encounter a problem That …

Member Avatar for JOSheaIV
-1
2K
Member Avatar for Spark_2

Just to give a little more info; I'm making a simple inventory program. From the main inventory page, a user can click the "Add Item" button, where they will be taken to another form, where they can fill out the item's info. Three fields are required (Category, Item, Quantity). Based …

Member Avatar for Spark_2
-1
481
Member Avatar for mubashar_1
Member Avatar for happygeek
-1
283
Member Avatar for JustinCpE

Good Day Sir, I am practicing on how to program something using do...while loop. I want to make a program that will ask for the Prelim, Midterm, Finals and Semestral Grade. 70% is the passing rate in our University. What are the codes that I have to put in C++?

Member Avatar for rubberman
-1
258
Member Avatar for dannyb270

Hey guys I have a program download link here... (link deleted) This program is used to purchase a pair of sneaker on adidas.com. I am a rookie in coding and have no idea what to do with it. I know it is a python file and you are supposed to …

Member Avatar for dannyb270
-1
426
Member Avatar for chriswelborn
Member Avatar for omegaprime

I am new here. I am taking an entry-level programming class and this is my code but i wanted to know if there are any errors in this code and if there are can you please explain to me what they are. And also having problem putting in a raptor …

Member Avatar for rubberman
-1
1K
Member Avatar for krishnisilva

hi, how can i add data to a datagridcombo box column from a mdf file, i want to take the first name of all employees and display in the datagrid view combo box column: is the code below correct , please can u tell me what should i do to …

Member Avatar for yonathansona
-1
2K
Member Avatar for Syeda_2

consider the following pseudo code and write the corresponding assembly code for it. Note: There is more credit for a shorter code. If (al > C1) AND (b1 > a1) { dx=1 } i can`t understand this code.... anyone solve this problem????

Member Avatar for gusano79
-1
1K
Member Avatar for Azmah

I always see Python for web development but not for desktop programs. I've heard you can but can't find resources on how. Thanks in advance O:)

Member Avatar for kristopher.roller
-1
1K
Member Avatar for kazkuzzer007

I'm trying to make a puzzle solver with php code like this <?php $GoalState = array(0,0,0,0,0,0,0,0,0); $CurrentState = array(0,0,0,0,0,0,0,0,0); $ChildState = array(0,0,0,0,0,0,0,0,0); function GetGoalState($initialstate, $goalstate){ $total = 0; $GoalStateGanjil = array(1,2,3,8,0,4,7,6,5); $GoalStateGenap = array(0,1,2,3,4,5,6,7,8); for($i=0; $i<8; $i++){ for($j=$i+1; $j<9; $j++){ if($initialstate[$j] < $initialstate[$i] && $initialstate[$j] != 0) $total = $total …

Member Avatar for Taywin
-1
438
Member Avatar for Rahul47

Hello people, please have a look at following IMAGE. ![new](/attachments/small/4/new.jpg "align-left") What I Wish to achieve is extract the select item and display it into a messagebox or say do other actions. I want to extract that particular selected ITEM ..say E101. Thanks.

Member Avatar for tinstaafl
-1
4K
Member Avatar for royalboy
Member Avatar for TAIMOOR_3
-1
268
Member Avatar for amal.mohammed.7505

A. Write a value‐returning function called length() that takes a positive integer and returns the number of digits in that integer. B. Using the written function in part A, write a value‐returning function called ispalindrome(), while 5675 is not palindrome. The function takes a positive integer and returns true if …

Member Avatar for jencas
-1
262
Member Avatar for Asuna

Problem requires TRIGONOMETRY: A pipe is to be carried around the right-angled corner of two intersecting corridors. Suppose that the widths of the two intersecting corridors are 5 feet and 8 feet (see below figure). Your objective is to find the length of the longest pipe, rounded to the nearest …

Member Avatar for Schol-R-LEA
-1
352
Member Avatar for analys

Hi, I'm trying to create folder name (serialno) from user input (GUI) in textbox and DataMonitoring and DataControlling output files will be save in the created folder. public bool DataMonitoring(ref string returnmsg) { string folderName = String.Format(@"C:\DataOutput\{0}", serialno); String DateAndTime = DateTime.Now.ToString("yyyy-MM-dd_HH.mm.ss"); FilePath = DateAndTime + "_DataMonitoring"; } public bool …

Member Avatar for JOSheaIV
-1
307
Member Avatar for fugio

I want to learn timekeeping software how to retrieve employee information and time timekeeper I'm starting to connect using TCP / IP and trying to figure out how to send and receive data if anyone has found out about this field, can send a code example desire to help thanks …

Member Avatar for Reverend Jim
-1
908
Member Avatar for steveneaster

I'm working on a project where I've loaded a database into a DGV. I also have an additional unbound checkbox column for the users to select entries with. I have code in place to read the selected rows and save them into a CSV string, which is then saved in …

Member Avatar for swhowie
-1
463
Member Avatar for problemsolver

Hi, Which is the best web hosting server by considering storage, bandwidth, uptime guarantee, dedicated plan, technical support, security, optimized services, wordpress hosting, files transfer, email accounts and websites limitations, email accounts and websites (domains) transfer, compatibility with open sources, integration with other applications (e.g., Google Apps), e-commerce support, great …

Member Avatar for xcesslogic
-1
314
Member Avatar for Avdhesh_1

Question1. Your task is to complete the program provided by providing the three missing classes, Minus, Times and Divide. Next, you should extend the program so that it supports relational, logical and conditional expression operators as defined by the following extension to the grammar: <exp> -> '(' <operand> <op> <operand> …

Member Avatar for rubberman
-1
470
Member Avatar for javed.iqbal.3979

I have the following code for simple downloading a file using WebClient: using System; using System.Net; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace DownloadManager { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void downloadbtn_Click(object …

Member Avatar for Harry_7
-1
262
Member Avatar for DS9596

Is this a good pseudocode and can you help me write this, I am kind of new to programming. if (choice > 0 && choice < 4) //choice is between 0 and 4 { cout << "Enter the distance: \n"; //displays the distance cin >> distance; //prints the distance if …

Member Avatar for rubberman
-1
445
Member Avatar for manaog.aaronvici.7

2. (Practice) Determine a step-by-step procedure (list the steps) for each of the following tasks: Note: There’s no single correct answer for each task. This exercise is designed to give you practice in converting heuristic commands into equivalent algorithms and understanding the differences between the thought processes involved. 3The source …

Member Avatar for mattster
-1
351
Member Avatar for Jake.20

Greetings guys can you point to me what is the problem here? This is the code that produces the error. That is in my views: <h7 id="header-label">Welcome, {{ $fname }} |</h7> This is the controller: class ProfileController extends BaseController { public function showProfile() { $items = DB::table('item_tbl')->get(); // Auth::check(); // …

Member Avatar for pritaeas
-1
1K
Member Avatar for Arvin1

Hi, i'm new to java, can someone help to solve this question: In Wonderland a man distribute his monthly salary among his family as follows: • Half the salary goes on general expenditure in the house • one third of the remainder is spent on his car • Out of …

Member Avatar for stultuske
-1
416
Member Avatar for vishal sata
Member Avatar for diafol
-1
264
Member Avatar for MrSONOFAHIPPY

Please help. I have an programming assignment due and i can't figure out how to code it. Complete the following code so that the program: 1. reads in any number of values in a given range into an array of integers 2. counts the frequency of each value, storing the …

Member Avatar for Erick02
-1
1K
Member Avatar for La

def askopenfilename(self): filename= tkFileDialog.askopenfilename(initialdir='C:/..',title='Select File' , filetypes=[('Bitmap Images', '*.bmp'),('Png Images', '*.png'),('Gif Images', '*.gif'),("Jpeg","*.jpg"),("All files", "*")]) self.entryVariable.set(filename) if filename == None: return open(filename,'rb') self.entry.update(filename) self.image = Image.open(filename) self.img = ImageTk.PhotoImage(self.image) self.canvas.config(width=400, height=300) self.lab.img = self.img self.lab.pack() self.canvas.create_image(1,1, anchor=NW, image=self.img) self.scrollbar_vert = Scrollbar(self.canvas) self.scrollbar_vert.pack(side=RIGHT, fill=Y) self.scrollbar_hor = Scrollbar(self.canvas) self.scrollbar_hor.config(orient=HORIZONTAL) self.scrollbar_hor.pack(side=BOTTOM, fill=X) self.canvas.config(yscrollcommand=self.scrollbar_vert.set) …

Member Avatar for vegaseat
-1
679
Member Avatar for ultmt.punisher

I am creating a table of my services or products where each product have their id next to it. I want to grab that product id into the URL of buy now button when customer click on that button, and when customer have done their shopping , that custom id …

Member Avatar for mmcdonald
-1
275
Member Avatar for Pineas

APPLIED PROGRAMMING (APR520S) ASSIGNMENT 1 Problem Solving Tools Total Marks: 50 Marks Due: Friday 22 August 2014 Suppose we want to construct a C/C++ program that can be used to calculate the area or the volume for a range of 2-D and 3-D shapes respectively. Consider only the following shapes. …

Member Avatar for Pineas
-1
262
Member Avatar for titus.k.s

when i was compile with -Xlint: unchecked then got some warning like this Compiling 12 source files to C:\Users\Titus\Documents\NetBeansProjects\SITA\build\classes warning: [unchecked] unchecked call to addItem(E) as a member of the raw type JComboBox what should i do?

Member Avatar for jwenting
-1
262
Member Avatar for prospectus.monarchy

How to write a pseudocode program of perfect number Item One- the amount of numbers to be tested, so that the program knows how many times to loop. the amount of values must be between 1 to 20 inclusive. Item Two - the numbers that will be tested to ascertain …

Member Avatar for prospectus.monarchy
-1
2K
Member Avatar for tan.revilleza

while loop or doo loop the output should be like this 1 12 123 1234 123 12 1 and 1234 123 12 1 12 123 1234 tnx

Member Avatar for Sam_6
-1
261
Member Avatar for neha1511

Friends, I want to know how to write a C program to embed text or data into the image, and also how to display this image as output. Can anyone please help me, its urgent guys!!!

Member Avatar for Ahmad_Khalaf
-1
1K
Member Avatar for amin_1

i got a project in c++ and want to make graph and shaps in c++ but i got this error i am using borland 5.02 if any one knows this please

Member Avatar for Schol-R-LEA
-1
1K
Member Avatar for Ravi Kant

Hello ! I want to get the current week number of the month. I have used this code below : - Private Sub Command1_Click() Dim t_Day As Double t_Day = Day(DTPicker1.Value) Select Case t_Day Case 1, 2, 3, 4, 5, 6, 7, 8 Text1.Text = "1st Week" Case 9, 10, …

Member Avatar for iluvchubs
-1
2K
Member Avatar for subhraakasuny

Hi Team, I am beginner in Java. I am trying to prepare report using Java,the code will generate a Microsoft Word Document and add some text and images in it. I am using Apache POI for this.I am able to create and add text in the doc file and the …

Member Avatar for subhraakasuny
-1
8K
Member Avatar for nancy10001
Member Avatar for ~s.o.s~
-1
385
Member Avatar for thefonz22

Hi guys. There seems to be a lot of people on this forum who know what they are talking about. My question is simple. I'm fairly new to c++ and i have hit a brick wall. I'm trying to write a simple program that grabs 2 txt files and outputs …

Member Avatar for ken.green.142035
-1
2K
Member Avatar for Chrome 142

Hi, I am trying to make my "Save All" button to save whatever is selected from the option menu or dropdown to that particular file. So if I have "animation" selected from the option menu it saves to the animation file 'ji.txt','r+'. Or if I have "compositing" selected from the …

Member Avatar for Chrome 142
-1
406
Member Avatar for moaz.amin.37

exception is a run time error,then why exceptions are again classified into compile time exception and run time exception,in that case it should be run time exceptions only.please give explanation with suitable real time example

Member Avatar for moaz.amin.37
-1
333
Member Avatar for Alson
Member Avatar for rjusman90
Member Avatar for chathuD

i need to move jpg image files from one place to another place. cut and past. lets say the folser "c:/abc/1" kave 10 images . then what i have to do is when i run my aplication on inside that "c:/abc/1" all the images on that folder must be cut …

Member Avatar for lucysome
-1
816
Member Avatar for Erikson

I am a student having my degree in computer science. I am in final year.My project superviser gave me a project on data mining.Its called **"GROUP SELECTION BASED ON TEMPORAL DATA"**.For example: the project is to find out 4 or any given number of players out of 11 whose performance …

Member Avatar for jwenting
-1
282
Member Avatar for Saboor880

I am writing a program for date class, but facing an error in definition of constructor. I am pasting my code below: Note: i am using compiler devC++ 4.9.2.2 and not need to add 'using namespace ' in this compiler. If you a using other compiler then you have to …

Member Avatar for tapananand
-1
395
Member Avatar for toring

Hi,I hope someone will help me on this,does anyone here knows algorithm BST infix to postfix,can you help me please. I am not good in java and i am still getting know with this. Thank you in advance.

Member Avatar for jwenting
-1
442

The End.