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

I use bootstrap How can i align the div with sadllebrown border to the middle(vertical) . Itried everything but it didn't get aligned as i want, thanks in advance . here is my code <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="Content/bootstrap.min.css" rel="stylesheet" /> <link href="Content/the-big-picture.min.css" rel="stylesheet" /> <style> body { …

Member Avatar for diafol
0
271
Member Avatar for Ahmed_62
Member Avatar for JamesCherrill
-1
102
Member Avatar for Ahmed_62

#include <iostream> using namespace std; //Write a recursive algorithm to solve the towers of Hanoi problem. //move disc 1 A to c ACB //move disc 2 A to b ABC //move disc 1 C to b CBA //move disc 3 A to c ACB //move disc 1 B to a …

Member Avatar for Ahmed_62
0
176
Member Avatar for Ahmed_62

i have this code to make sodoko board with 9*9 cells(button cells ) but i cannot made all Jpanels contain my buttons i made the first Jpanel only import java.awt.Color; import java.awt.GridLayout; import java.lang.reflect.Field; import javax.swing.BorderFactory; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JPanel; public class Sodoko extends JFrame { private Sodoko() …

Member Avatar for JamesCherrill
0
228
Member Avatar for Ahmed_62

i have these buttons what i wanna do is when i press any of them change the button name to "Ouch!" import java.applet.Applet; import java.awt.Button; import java.awt.Color; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class sudokou extends Applet { Button num[] = new Button[9]; int x, y, i, j, n …

Member Avatar for JamesCherrill
0
223
Member Avatar for Ahmed_62

public static boolean isEmpty(int grid[][]) { for (int r = 0; r < grid.length; r++) for (int c = 0; c < grid.length; c++) if (grid[r][c]==0) { return true; } return false; } the question is : after returning true it back to (for loop) or not ????

Member Avatar for stultuske
0
157
Member Avatar for Ahmed_62

i cannot understand the squuence of this program at all some one explain in details plz #include<iostream> using namespace std ; void move(char,char,char,int) ; int main() { int n; cout<<"Enter the plates numbers \n"; cin>>n; move('a','b','c',n) ;system("pause");} void move(char x,char y,char z,int n){ if(n>1) move(x,z,y,n-1); cout<<x<<"----->"<<z<<"\n"; if(n>1) move(y,x,z,n-1); }

Member Avatar for rubberman
0
110
Member Avatar for Ahmed_62

i wrote this code yesterday and i traced it myself but the problem is the array doesn't store any number in it and the output was like this : //convert from decimal to binary #include<iostream> using namespace std ; void main(){ int n,c=0,*pointer,temp=0,r,i,y ; cout<<"Enter number\n"; cin>>n; y=n ; for(;;){ …

Member Avatar for Ion_1
0
286
Member Avatar for Ahmed_62

plz some one explain in details this code : we have array of 9 cells and 0 present empty locations we want solution of this array (no number will be repeated) also if there is any way to call this functions in main so as the program runs succesfully plz …

Member Avatar for gusano79
0
200
Member Avatar for Ahmed_62

Hello Everybody , i have array of size 9x9 i want to write a function to Check each 3x3 box

Member Avatar for Ahmed_62
0
293