forked from getcursor/cursor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More programming languages examples. (getcursor#312)
- Loading branch information
Showing
6 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Welcome to Cursor | ||
// | ||
// 1. Try generating with command K on a new line. Ask for a C# implementation of a binary search tree. | ||
// 2. Then, select the outputted code and hit chat. Ask if there's a bug. Ask how to improve. | ||
// 3. Try selecting some code and hitting edit. Ask the bot to add a method for finding the lowest common ancestor of two nodes. | ||
// 4. To try out Cursor on your own projects, go to the file menu (top left) and open a folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* Welcome to Cursor | ||
1. Try generating with command K on a new line. Ask for a C program that implements a stack using an array. | ||
2. Then, select the outputted code and hit chat. Ask if there's a bug. Ask how to improve. | ||
3. Try selecting some code and hitting edit. Ask the bot to add a function that checks if the stack is full. | ||
4. To try out Cursor on your own projects, go to the file menu (top left) and open a folder. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Welcome to Cursor | ||
// | ||
// 1. Try generating with command K on a new line. Ask for a Go implementation of a simple HTTP server. | ||
// 2. Then, select the outputted code and hit chat. Ask if there's a bug. Ask how to improve. | ||
// 3. Try selecting some code and hitting edit. Ask the bot to add a middleware for logging requests. | ||
// 4. To try out Cursor on your own projects, go to the file menu (top left) and open a folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Welcome to Cursor | ||
// | ||
// 1. Try generating with command K on a new line. Ask for a Java implementation of a singly linked list. | ||
// 2. Then, select the outputted code and hit chat. Ask if there's a bug. Ask how to improve. | ||
// 3. Try selecting some code and hitting edit. Ask the bot to add a method for reversing the linked list. | ||
// 4. To try out Cursor on your own projects, go to the file menu (top left) and open a folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* Welcome to Cursor | ||
1. Try generating with command K on a new line. Ask for a PHP script that connects to a MySQL database. | ||
2. Then, select the outputted code and hit chat. Ask if there's a bug. Ask how to improve. | ||
3. Try selecting some code and hitting edit. Ask the bot to add a function to retrieve data from a specific table. | ||
4. To try out Cursor on your own projects, go to the file menu (top left) and open a folder. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Welcome to Cursor | ||
// | ||
// 1. Try generating with command K on a new line. Ask for a Rust implementation of a concurrent hash map. | ||
// 2. Then, select the outputted code and hit chat. Ask if there's a bug. Ask how to improve. | ||
// 3. Try selecting some code and hitting edit. Ask the bot to add a method for safely removing a key-value pair from the hash map. | ||
// 4. To try out Cursor on your own projects, go to the file menu (top left) and open a folder. |