diamond made out of asterisks (*).

If anyone can help me out on this problem I would sure appreciate it.The problem:Your task, should you choose to accept it, is to write a program in Visual Basic.Net that will display a diamond made out of asterisks (*).You must use nested loops to create the diamondYou may only use the following di ...

Diamond of asterisks using 2D array

friends. I'm trying to write a program that accepts an odd number from 1-9 and outputs the diamond of asterisks as follows user enters 5_ _ _ * _ _ __ _ * * * _ _ _ * * * * * __ _ * * * _ _ _ _ _ * _ _ _I was able to accomplish the problem using nested for loops but I then realized that I needed to ...

code to make a diamond out of '*'???

i was wondering if anyone could please help me with my c++ assignment due in 3 days. It am only a beginner and don't know how to even start it.The assignment's outline is- write a simple basic program that reads an odd number in the range of 1 to 25 and prints a series of asterisks(*) in a diamond s ...

Help creating a diamond (it's legal)

I got this program that supposed to display a diamond but I only got the top part of diamond to work. As for bottom part I am not sure what calculation I could use. Any hint would be appreciated! ThanksThis is the part://Bottom Partfor ( row = 1; row <= num/2+1; row++ )This is the actual code:pub ...

diamond program

I just started learning Java and my teacher assigned us this program to write:Write a program which will display a diamond figure of a specified size. Ask the user for a number which determines the size of the diamond. Keep prompting until the user types an odd, positive value. Then display a diamon ...

jQuery Input Field Shows Asterisks

I'm trying to make watermark labels for both my username and password fields.  Currently the password field displays the password watermark in asterisks.  I only want asterisks to be displayed when a user types in values.  Here is an example of what my login looks like with the word p ...

jQuery JQM on Opera 10 / HTC Touch Diamond 2 / Win Mobile 6.5

Hi, browsing the JQM-Demopages with Opera 10 on a HTC Touch Diamond 2 (Win Mobile 6.5) I have to scroll in horizontal direction on each page. Apparently the width breakpoints do not fit to that device. Does anyone know how to make JQM-Pages really usable on this (and similar) devices? ...

Ubuntu Frontech E-cam (Diamond) not working

HiI am running 10.04 LTS - the Lucid Lynx since last 6-8 months and just bought a webcameFrontech E-Cam (Diamond)Make JIL -2232 and it is not workingI typed gstreamer-properties in terminal click video try v4l1 and v4l2click the bottom test button for each 1it gave following error Cannot identify de ...

How to decrypt password asterisks

Hello, I need help. I am developing a piece of software which, among other things, should contain a function which allows you to decrypt the asterisks used to hide passwords. It should be able to unmask all the passwords visible on the screen.In order to get this, I placed the following code in a mo ...

Red Diamond: Server Status Inactive

Forum...On my win system tray, a little red diamond displays instead of the usual green disk.Clicking the diamond opens a server status dialog box that states the Transport Service is inactive, but states that the server service is active, along with the following active services:Database Query Serv ...

PCI slots problems with MSI K8N Diamond Plus

I bought a MSI K8N Diamond Plus motherboard a few months ago. Everything was OK but there were problems with my 56k PCI internal modem. Sometimes my PC was blocked or reset, I tried different brands and models but the same happened once and again. Two weeks ago I bougth a Pinnacle PCI Studio 700... ...

Ubuntu Diamond Vid Capture VC500 USB

I cannot tell, by netsearching the keywords: Diamond, VC500, Linux whether this device is under development for Linux. Does anyone know whether a driver is being developed? ...

Diamond Pattern of Stars Program help.

I have been working on making a diamon patter of stars program. When the user is promted for the number of stars in the largest row in teh pattern I have to use the recursive function to generate it. I have the program compiled with no erros and i get stars.. but its like 1/2 a diamond and I can onl ...

program produces a diamond enclosed by a square of the given size

#include <iostream>using std::cout;using std::cin;int Forla_ciz(int);int While_ile_ciz(int);int DoWhile_ile_ciz(int);void main(){int genislik,no;while ( (genislik<1) || (genislik>22) ) {cout<<"0 ile 22 aras─▒nda bir geni┼člik girin:"; cin>>genislik;}while ((no<1) ...

Having passwords display as asterisks

I am trying to hide passwords entered into a form, but the first and last characters in the password that is entered has to be displayed as normal characters and the rest of the password as asterisks. Does any one know how to do this? ...

MySQL What does this symbol mean ?? (red diamond)

I have created a table with a foreign key. The foreign key has 3 columns. 2 of the columns are primary keys on both tables, the third column is only a PK on the referenced table. On the referencing table it has a red diamond symbol next to it. Does the red diamond indicate that it is part of a forei ...

Help with a C++ Asterisks program

I am having trouble creating an inverted half-square out asterisks. The problem requires three nested for-loops, I believe, but am unsure as how to proceed. Here is the work I have so far, with the UN-inverted half-square code in italics. The inverted portion should be a simple manipulation of that ...

alpe gulay's program to create a diamond using asterisk...

.,'this program will simply creates a diamond using asterisk.,'just try out this code i am sure you will be interested.!..email me about your comment in this simple program!..help me if you know the easiest way to construct this kind of program..' ...

Sparkling Diamond

Salutations, I'm trying to produce an effect similar to the diamond on the far right on this site:http://www.diamondgeezer.com/diamond_sparkle2.htmlany ideas? ...

Conceal text by displaying asterisks (*).

I am a Javascript newbie. I have a pretty good script for login and password but the only problem is I want the password characters to appear as asterisks on the login form.The script I need to change is as follows:<!-- Beginfunction Login(){var done=0;var username=document.login.username.value;u ...

Diamond MX300 drivers, need help installing pls

all, I'm new to linux and am trying to get my Diamond MX300 sound card to work. I have downloaded and uncompressed the file au88xx-1.1.2.tar.bz2.When I try to install the drivers I get the following error:[root@localhost aureal]# make installcc -D__KERNEL__ -DMODULE -DAU8830 -mpentium -O6 -fomit-fra ...

asterisks square

i start learning c++ and still at basics and was trying to solve a exercise in second chapter. this exercise asked to print a square using asterisks. i am able to create a asterisks solid square and colde is as follows. # include<iostream>using namespace std;int main(){int row;int col;int size ...

Need help adjusting xf86config for Diamond FireGL1

I am using slackware 9.1 and I am having trouble setting up Diamond Fire GL on a Dell828 fi monitor with x86config. I run xf86config and adjust everything and try to run startx, but (EE) No screens detected is the message I get. I enter the accurate values for the refresh rates and everything but I ...

does anyone remember how to make the diamond pattern in c++?

My friend and i were having a discussion the other day and we were having a heated argument about how to make that dang diamond pattern in C++ code...does anyone remember how to make that thing? like this? ****" alt="****" border="0" /> ...

Diamond XS 7.1DDL - SPDIF

Installed Kubuntu on existing hardware and most everything works well - one exception. The Diamond XS 7.1DDL sound card is silent on the SPDIF out. Analog outs work fine, but I'd rather be optical...Is this just a case of "non-supported hardware"?thx... ...

Stumped on C++ code asterisks

Can any one help or give some good advice on where I need to go from a point in my code. I am building an asterisks tree and I managed to get that part done, but there are three thing I need to input to complete the assignment.1. And the line numbers to the asterisks.2. Limit the asterisks tree to o ...

Diamond All-in-wonder support

Is there any of the Linux distributions that fully supports the Diamond All-in-Wonder graphics card. I have heard that most support the graphics card but I am looking for a driver support that also has the TV card so I can use MythTV.If someone can help out it would be much appreciated. ...

A Diamond

can u plz help me with this?#include<stdio.h>#include<conio.h>void main (){int i,j;printf ("\t*");for (i=2; i<=5; i++){i=i+1;printf ("*",i);for (i=3; i>=1; i--){printf ("*");}printf ("\n");}getch();}its suppose to give an output in the form o ...

Printing a diamond

I have made a program that prints a diamond shape. But my program should read an odd number in the range 1 to 19 to specify the number of rows in the diamond, then it should displaya diamond of the appropriate side in which it is at present. I am a beginner. I don't know how to do that. Can any one ...

pyramid using asterisks x]

guys.. i hope you could help me out here..we are currently in iterative and conditional statements..problem is making a pyramid using asterisks.for example, if the user input 6, that would be the height of the pyramid, while the body starts at 1 and increases by 2 each line.i.e. input = 5 xxxxxxx*xx ...

need help with asterisks program

i have to write a program where i input two positive integers (L and H) which are both less than 21. the program then prints out a box of solid asterisks wit L horizontal asterisks and H vertical asterisks.i dont really know where to start... can someone tell me? ...

Asterisks on Issue Numbers?

What the the "*" (asterisks) mean next to the Issue Number in the results? Some have asterisks while others don't. ...

help with 'for' function to construct a diamond!

I justs started this code to make a diamond with stars (*), but I get confused how to print the spaces that I need, I don't know if you understant what I'm trying to say. It is something like this:Prompt the user to enter (odd) height (of a diamond) and outputs the following:Example height = 7Output ...

help please! 'for' loop to make a diamond!

I justs started this code to make a diamond with stars (*), but I get confused how to print the spaces that I need, I don't know if you understant what I'm trying to say. It is something like this:Prompt the user to enter (odd) height (of a diamond) and outputs the following:Example height = 7Output ...

Diamond Triangle

There were two other variation which I completed but I am confused with this one:Write a method for each triangle variation. Use nested for loops to draw the triangles.Variation 3:/** Precondition: width is an odd number >1*/public void diamond (int width){}if width = 7, the output should be:**** ...

Recursive method involving asterisks!

I am trying to write a recursive method to print an increment of a number of asterisks specified.triangle(5) would print this:***************However, the code I wrote seems to do the opposite and I'm not sure how to reverse it although I tried and it gives me endless loop. Any ideas?public static vo ...

Diamond Asteriks

Okay friends this is actually my school work.My teacher asked me to make a diamond asteriks.I just try and with my code #include<iostream>using namespace std;int main(){char b='*';for(int i=10;i>0;i--){for(int j=0;j<i;j++){cout<<" ";}for(int c=10;c>i;c--){cout<<b ...

trying to place asterisks but i cant?

I am trying to draw stars/asterisks but i can't. Any idea?import java.io.*;import java.awt.*;import javax.swing.JPanel;import javax.swing.*;public class kmd1234 extends JFrame{kmd1234(){JFrame f;JPanel p;JLabel l;int x,y;f = new JFrame("my frame");f.setDefaultCloseOperation(JFrame.EXIT_ON_ ...

dreaded diamond

I have recently learned in school about the dreaded diamond.And I wrote a program using virtual inheritance to overcome the problems.I use g++ and I have the following errors with this program,//doing to create an illustration for dreaded diamond#include<iostream>using namespace std;class vehi ...

Help with diamond

I am trying to write a code that reads an integer and then diplays a diamond with the corresponding number of lines.The program I have written displays a solid diamond, but I am only trying to display the outline. Here is my code:import javax.swing.JOptionPane;/***Odd and even, if all input numbers ...

Creating rows of asterisks???

So I am in need of some help with a project I have.We need to create a program that will print out rows of asterisks as tall as defined by the user.For example, if the user entered, 1 2 3 4 3 2 1 10 0, my program should print:******* **** ****** *********1 star in the first row, 2 in the 2nd, and so ...

How to create a 2 diamond using for loops?

Hi, I am in dire need of help. I have tried every way I could think up and I cant get itI need a diamond that looks like perfect rhombus with an a border: **(im trying to get this site to make my shape to come out right but the site only makes it look like a triangle sorry)^ ^ ^^ * ^^ * * ^^ * * * ^ ...

Diamond shape

Ok my project is to make several shapes that are all controlled by the user as far as what size and character is used I have the parallelogram, rectangle, triangles and the even diamond. But I cant get the odd diamond. I can only use the libraries that are in the code no arrays just selection, seque ...

Help making a diamond outline of numbers!

there, right now my teacher wants me to make an outline of a half-diamond with numbers, using for loops, kind of like the following:1234543 21The number 5 is a user input, so the half-diamond's width would be controlled by the user. I really don't know how to do this and would kindly request some he ...

Quick asterisks question in Java

Ok, I am typing up a program in which will play hangman with a user. I have done most of the program, but I have to let the program randomly choose a word from the list of words stored in your array. Afterwards, it should clear the screen and display a series of asterisks to represent the letters to ...

Diamond asterisk

guys i've been stuck by this program for a while...Although you might find it easy,, but i'm still a beginner on c++ so please pleasehelp me on this program.. Write a program that will display a pattern depending on the value of n entered by the user. ex. if n = 3, display********* (diamond shaped)w ...

Diamond shape ex

i was doing an exercise in book which asked to draw a diamond shape by displaying '*' using nested for loops. It took me quite a while to come up with a way to reverse the pyramid , and complete this exercise. So i was hoping some one can take a look at this code and let me know what they would have ...

Asterisks to represent Grades

there, I have been given this question to complete but I can't seem to get my code working properly. I'm very new to C# so sorry if i come across as stupid! Here is the question... Create a class that represents the grade distribution for a given course. In this class you should write methods to per ...

make diamond with stars using php For loop

How are you all?Friends i m new on daniweb, and i just want to know that how can i make diamond with stars (*) using "For" Loop in PHP.My Teacher Gives me an assignment to make like this...for ($a=1; $a<=5; $a++){for($b=1; $b<=5; $b++){echo "*";}echo "<br>"; ...

Ubuntu NEverwinter Nights Diamond DVD mount + Freeze

I'm trying to install NeverwinterNights Diamond because I have a snow day and it's one of my favorite games, but whenever I put the DVDrom into the computer and try to mount it the computer seizes up. There's no response from the mouse or keyboard, but I can usually eject the disc. I just end up hol ...