Joined the Community
write a c++ program to display the following pattern:
a
a b
a b c Article by naik.pranjal in Software Development
c++
Article by naik.pranjal in Software Development
c++
THIS WORKS FOR TURBO C++::::::


#include<iostream.h>
#include<conio.h>
void main()
{ clrscr();
char m;
int n;
cout<<"Enter the number of rows=";
cin>>n;
for(int i=1;i<=n;i++)
{ cout<<"\n";
for(int j=1;j<=i;j++)
{ m=j+64;
cout<<m;
}
}
getch();
}
Joined the Community
Joined the Community
Hey guys,

I have a code on excel, that will count the critera if there is more than one box filled out.


=COUNTIF(C5:D14,"<>0")

But now i am converting this code to jquery and i cannot figure it out.
on my page, there is a toggle button, yes/no selector for autopay, … Article by patk570 in Web Development
Hey guys,

I have a code on excel, that will count the critera if there is more than one box filled out.


=COUNTIF(C5:D14,"<>0")

But now i am converting this code to jquery and i cannot figure it out.
on my page, there is a toggle button, yes/no selector for autopay, … Article by patk570 in Web Development
Hey guys,

I have a code on excel, that will count the critera if there is more than one box filled out.


=COUNTIF(C5:D14,"<>0")

But now i am converting this code to jquery and i cannot figure it out.
on my page, there is a toggle button, yes/no selector for autopay, … First Post in Article by patk570 in Web Development
Article by nadiam in Software Development
So is what im asking not possible to do? is there another way to accompolish what i want?
Joined the Community
2,785 Replied To a Post in java shell execute
Article by brothman01 in Programming
You are confusing exceptions and process errors. You need the catch for your java program errors. Your process may issue its own error messages which will go to its error stream. For those you have to capture the error stream or redirect it to std out which you are already …
3,149 Replied To a Post in Sum to Root
Article by phphp in Web Development
php
Opened 2 closed 3. Take off last closed.
Replied To a Post in Sum to Root
Article by phphp in Web Development
php
Sir, 2 opened and 2 closed.
so which one is enough?
Hello
i had a datagridview with data in it and i wanted to display the selected row in textboxes
here's the code i tried by i think its totaly wrong
[code=vb.net]
Private Sub DataGridView_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick
Dim i As Integer
i = DataGridView.CurrentRow.Index … Article by manutd4life in Software Development
Article by manutd4life in Software Development
IN SAME FORM IF I ENTER txtSupplierId.Text = one id auto select gridview row
Joined the Community
Joined the Community
1,929 Replied To a Post in Sum to Root
Article by phphp in Web Development
php
One `)` too much.
Have pressed the 'update upcoming issue and email test copy' button a couple of times now (maybe 10 minutes apart) and neither has resulted in the edit being emailed to me. Last couple of months the edit was arriving almostb instantly. Just flagging in case it points to something more … Article by happygeek in DaniWeb Community Feedback
Article by happygeek in DaniWeb Community Feedback
Ended up working OK, so that's OK :)
Joined the Community
Article by Lukas_2 in Software Development
Of course, a line was missing:
...
if (!EOWord)
currWord <--- append currChar
currChar <--- getNextCharFromInputStream
else
...
Began Watching
Sir, I have these PHP codes


while($res = sqlsrv_fetch_array($result)) {
echo "<tr>";
$sno=$sno+1;
echo "<td align='center'>$sno</td>";
echo "<td align='center'>".($res['acc_code'])."</td>";
$partycode=($res['acc_code']);
$query1 = "select code,desc1 from master where code='".$partycode."'";
$result1 = sqlsrv_query($con,$query1) or die ("Error". sqlsrv_errors($con)) ;
while($res1 = sqlsrv_fetch_array($result1)) {
echo "<td align='left' class='color1'>".($res1['desc1'])."</td>";
}
echo "<td align='right'>".($res['dr_amount'] != 0 … Article by phphp in Web Development
php
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly … Article by Clif40RD in Programming
/* initialize the calendar
-----------------------------------------------------------------*/
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();

/* selects the events to load in the calendar
-----------------------------------------------------------------*/
$.ajax({
url: 'process.php',
type: 'POST',
data: 'type=fetch',
async: false,
success: function(response){
json_events = response;
}
});

$('#calendar').fullCalendar({

//events: … Article by mark_59 in Web Development
/* initialize the calendar
-----------------------------------------------------------------*/
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();

/* selects the events to load in the calendar
-----------------------------------------------------------------*/
$.ajax({
url: 'process.php',
type: 'POST',
data: 'type=fetch',
async: false,
success: function(response){
json_events = response;
}
});

$('#calendar').fullCalendar({

//events: … Article by mark_59 in Web Development
/* initialize the calendar
-----------------------------------------------------------------*/
var date = new Date();
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();

/* selects the events to load in the calendar
-----------------------------------------------------------------*/
$.ajax({
url: 'process.php',
type: 'POST',
data: 'type=fetch',
async: false,
success: function(response){
json_events = response;
}
});

$('#calendar').fullCalendar({

//events: … First Post in Article by mark_59 in Web Development
Joined the Community
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.

btn_addline :

Private Sub btn_addline_Click(ByVal … Article by nadiam in Software Development
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.

btn_addline :

Private Sub btn_addline_Click(ByVal … Article by nadiam in Software Development